Skip to content

Commit 7c44436

Browse files
Add back six.moves.range (Python 2) (#4411)
This was accidentally removed in #4287. Co-authored-by: Jelle Zijlstra <[email protected]>
1 parent 29c71ff commit 7c44436

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

third_party/2/six/moves/__init__.pyi

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,14 @@
33
# Note: Commented out items means they weren't implemented at the time.
44
# Uncomment them when the modules have been added to the typeshed.
55
import __builtin__ as builtins
6-
from __builtin__ import intern as intern, raw_input as input, reduce as reduce, reload as reload_module, xrange as xrange
6+
from __builtin__ import (
7+
intern as intern,
8+
raw_input as input,
9+
reduce as reduce,
10+
reload as reload_module,
11+
xrange as range,
12+
xrange as xrange,
13+
)
714
from cStringIO import StringIO as cStringIO
815
from itertools import ifilter as filter, ifilterfalse as filterfalse, imap as map, izip as zip, izip_longest as zip_longest
916
from os import getcwd as getcwdb, getcwdu as getcwd

0 commit comments

Comments
 (0)