diff options
Diffstat (limited to 'numpy/numarray/functions.py')
-rw-r--r-- | numpy/numarray/functions.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/numarray/functions.py b/numpy/numarray/functions.py index 2492d5f3f..9da96009f 100644 --- a/numpy/numarray/functions.py +++ b/numpy/numarray/functions.py @@ -25,7 +25,6 @@ __all__ += ['vdot', 'dot', 'matrixmultiply', 'ravel', 'indices', ] import copy -import copy_reg import types import os import sys @@ -44,6 +43,8 @@ from .numerictypes import typefrom if sys.version_info[0] >= 3: import copyreg as copy_reg +else: + import copy_reg isBigEndian = sys.byteorder != 'little' value = tcode = 'f' |