diff options
author | Seth Troisi <sethtroisi@google.com> | 2020-01-04 13:23:57 -0800 |
---|---|---|
committer | Seth Troisi <sethtroisi@google.com> | 2020-01-05 13:19:43 -0800 |
commit | 2be9abe7ddf0fb8a3d934f6fe4d37be5ce2e4a5b (patch) | |
tree | 3df9fb0998f46579a27c84e7bdc4aa0323c20d7a /numpy/core/multiarray.py | |
parent | c1f1bc9ce8e4e2936e80d9bfafc3d8e03237a84b (diff) | |
download | numpy-2be9abe7ddf0fb8a3d934f6fe4d37be5ce2e4a5b.tar.gz |
MAINT: Remove Python2 newbuffer getbuffer
Diffstat (limited to 'numpy/core/multiarray.py')
-rw-r--r-- | numpy/core/multiarray.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/numpy/core/multiarray.py b/numpy/core/multiarray.py index 01fca1df5..5749afdcc 100644 --- a/numpy/core/multiarray.py +++ b/numpy/core/multiarray.py @@ -41,8 +41,6 @@ __all__ = [ 'set_string_function', 'set_typeDict', 'shares_memory', 'test_interrupt', 'tracemalloc_domain', 'typeinfo', 'unpackbits', 'unravel_index', 'vdot', 'where', 'zeros'] -if sys.version_info.major < 3: - __all__ += ['newbuffer', 'getbuffer'] # For backward compatibility, make sure pickle imports these functions from here _reconstruct.__module__ = 'numpy.core.multiarray' |