From a8bcb84ba972a11fe49f28945abc986192ae73dc Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Sun, 21 Feb 2010 02:50:34 +0000 Subject: 3K: ENH: make numpy.numarray to import --- numpy/numarray/functions.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'numpy/numarray/functions.py') diff --git a/numpy/numarray/functions.py b/numpy/numarray/functions.py index 6a0fd2958..1c2141c98 100644 --- a/numpy/numarray/functions.py +++ b/numpy/numarray/functions.py @@ -54,6 +54,9 @@ import numpy as np from numerictypes import typefrom +if sys.version_info[0] >= 3: + import copyreg as copy_reg + isBigEndian = sys.byteorder != 'little' value = tcode = 'f' tname = 'Float32' -- cgit v1.2.1