summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2020-01-03 11:09:39 -0500
committerJon Dufresne <jon.dufresne@gmail.com>2020-01-04 06:42:29 -0800
commit963692da48ac8baf692357b453e2945122fd4eb5 (patch)
tree36565b2978b9925e8d7eb3863aa8083c0792c82f /numpy/core/numeric.py
parentb7c27bd2a3817f59c84b004b87bba5db57d9a9b0 (diff)
downloadnumpy-963692da48ac8baf692357b453e2945122fd4eb5.tar.gz
MAINT: Remove unused int_asbuffer
On Python 3, int_asbuffer throws NotImplementedError and goes unused internally. Fixes #12425
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r--numpy/core/numeric.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py
index af289ca3d..ae3dcd07a 100644
--- a/numpy/core/numeric.py
+++ b/numpy/core/numeric.py
@@ -15,7 +15,7 @@ from .multiarray import (
WRAP, arange, array, broadcast, can_cast, compare_chararrays,
concatenate, copyto, dot, dtype, empty,
empty_like, flatiter, frombuffer, fromfile, fromiter, fromstring,
- inner, int_asbuffer, lexsort, matmul, may_share_memory,
+ inner, lexsort, matmul, may_share_memory,
min_scalar_type, ndarray, nditer, nested_iters, promote_types,
putmask, result_type, set_numeric_ops, shares_memory, vdot, where,
zeros, normalize_axis_index)
@@ -50,7 +50,7 @@ array_function_dispatch = functools.partial(
__all__ = [
'newaxis', 'ndarray', 'flatiter', 'nditer', 'nested_iters', 'ufunc',
'arange', 'array', 'zeros', 'count_nonzero', 'empty', 'broadcast', 'dtype',
- 'fromstring', 'fromfile', 'frombuffer', 'int_asbuffer', 'where',
+ 'fromstring', 'fromfile', 'frombuffer', 'where',
'argwhere', 'copyto', 'concatenate', 'fastCopyAndTranspose', 'lexsort',
'set_numeric_ops', 'can_cast', 'promote_types', 'min_scalar_type',
'result_type', 'isfortran', 'empty_like', 'zeros_like', 'ones_like',