Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Python3: xrange
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrenn committed Jan 24, 2017
1 parent 9086b64 commit fc6c3f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/combinat/k_regular_sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def pad_right(T, length, zero=0):
sage: pad_right([1,2,3], 10)
[1, 2, 3, 0, 0, 0, 0, 0, 0, 0]
"""
return T + type(T)(zero for _ in xrange(length - len(T)))
return T + type(T)(zero for _ in range(length - len(T)))


class kRegularSequence(RecognizableSeries):
Expand Down

0 comments on commit fc6c3f5

Please sign in to comment.