Skip to content

Commit d33dc5f

Browse files
committed
-
1 parent f975aff commit d33dc5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source_py2/python_toolbox/sequence_tools/cute_range.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def __call__(cls, *args, **kwargs):
8282
assert not kwargs
8383

8484
# Our job here is to decide whether to instantiate using the built-in
85-
# `range` or our kickass `Range`.
85+
# `xrange` or our kickass `Range`.
8686
from python_toolbox import math_tools
8787

8888
if (cls is CuteRange) and (not _avoid_built_in_range):
@@ -102,7 +102,7 @@ def __call__(cls, *args, **kwargs):
102102
use_builtin_range = False
103103

104104
if use_builtin_range:
105-
return range(*args)
105+
return xrange(*args)
106106
else:
107107
return super().__call__(*args)
108108

0 commit comments

Comments
 (0)