Skip to content

Commit e7e3d40

Browse files
committed
Fix _count compatibility import on Py2.6
1 parent 6caac86 commit e7e3d40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/future/types/newrange.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
from future.backports.misc import count # with step parameter on Py2.6
2525
# For backward compatibility with python-future versions < 0.14.4:
26-
from future.backports.misc import _count
26+
_count = count
2727

2828

2929
class newrange(Sequence):

0 commit comments

Comments
 (0)