rst: Replace xrange() by Python 3 compatible range().

This commit is contained in:
Christian Neumüller 2014-07-26 11:25:41 +02:00
parent 5eaa61ae27
commit 71e770a4d9

View File

@ -87,7 +87,7 @@ def make_items(times, leading='+'):
times = int(times)
if leading == 1:
msg = ""
for x in xrange(1, times+1):
for x in range(1, times+1):
msg += "%s. Item\n" % x
return msg
else: