summaryrefslogtreecommitdiff
path: root/numpy/lib/arrayterator.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-04-13 07:00:11 -0700
committerCharles Harris <charlesr.harris@gmail.com>2013-04-13 07:00:11 -0700
commit688bc60658b391524c6b641e0a5e5ecd73322d02 (patch)
tree1b210bb7361ce691e781884bf06f89c7ebd13360 /numpy/lib/arrayterator.py
parent74b08b3f0284d9d2dd55a15dd98a3846913b1b51 (diff)
parent7f5af37e26ba2e99ad3ee6928b78437f601e96e0 (diff)
downloadnumpy-688bc60658b391524c6b641e0a5e5ecd73322d02.tar.gz
Merge pull request #3232 from charris/2to3-apply-numliterals-fixer
2to3: Apply the `numliterals` fixer and skip the `long` fixer.
Diffstat (limited to 'numpy/lib/arrayterator.py')
-rw-r--r--numpy/lib/arrayterator.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/numpy/lib/arrayterator.py b/numpy/lib/arrayterator.py
index 761d63749..094d41c11 100644
--- a/numpy/lib/arrayterator.py
+++ b/numpy/lib/arrayterator.py
@@ -9,12 +9,14 @@ a user-specified number of elements.
"""
from __future__ import division, absolute_import, print_function
+import sys
from operator import mul
+from functools import reduce
+
+from numpy.compat import long
__all__ = ['Arrayterator']
-import sys
-from functools import reduce
class Arrayterator(object):
"""