rst: Replace xrange() by Python 3 compatible range().
This commit is contained in:
parent
5eaa61ae27
commit
71e770a4d9
@ -87,7 +87,7 @@ def make_items(times, leading='+'):
|
|||||||
times = int(times)
|
times = int(times)
|
||||||
if leading == 1:
|
if leading == 1:
|
||||||
msg = ""
|
msg = ""
|
||||||
for x in xrange(1, times+1):
|
for x in range(1, times+1):
|
||||||
msg += "%s. Item\n" % x
|
msg += "%s. Item\n" % x
|
||||||
return msg
|
return msg
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user