diff options
author | Pauli Virtanen <pav@iki.fi> | 2010-02-21 02:48:47 +0000 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2010-02-21 02:48:47 +0000 |
commit | 37f85303d48f7c4724da078563ceb2c6051ffc3a (patch) | |
tree | e77a7a904cd33f0ad6b542539ba0d262fadedcfa /numpy/lib/recfunctions.py | |
parent | 8003020b43e04c8adb7a0854080a5edf5c93f34e (diff) | |
download | numpy-37f85303d48f7c4724da078563ceb2c6051ffc3a.tar.gz |
3K: lib: zip is izip on Py3
Diffstat (limited to 'numpy/lib/recfunctions.py')
-rw-r--r-- | numpy/lib/recfunctions.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/lib/recfunctions.py b/numpy/lib/recfunctions.py index 3f99a1ba8..e1c65c80b 100644 --- a/numpy/lib/recfunctions.py +++ b/numpy/lib/recfunctions.py @@ -18,6 +18,10 @@ from numpy.ma.mrecords import MaskedRecords from numpy.lib._iotools import _is_string_like +import sys +if sys.version_info[0] >= 3: + iterizip = zip + _check_fill_value = np.ma.core._check_fill_value __all__ = ['append_fields', |