summaryrefslogtreecommitdiff
path: root/numpy/__init__.py
diff options
context:
space:
mode:
authorWarren Weckesser <warren.weckesser@gmail.com>2020-05-04 19:04:20 -0400
committerWarren Weckesser <warren.weckesser@gmail.com>2020-05-04 19:07:27 -0400
commite95fcba32f123dc3ea6e23f533fedf5aee64815e (patch)
treec2e7750ebb1950373fb14a41ed36eeacf41bbd21 /numpy/__init__.py
parent30bf46c0538266ade0ac0e1a18486a226196b738 (diff)
downloadnumpy-e95fcba32f123dc3ea6e23f533fedf5aee64815e.tar.gz
DEP: Deprecate `numpy.dual`.
Add a deprecation warning in the `numpy.dual` module, and remove the use of `numpy.dual` from the few places where it is used in the numpy code.
Diffstat (limited to 'numpy/__init__.py')
-rw-r--r--numpy/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/numpy/__init__.py b/numpy/__init__.py
index 575e8ea3d..e6a24f0d1 100644
--- a/numpy/__init__.py
+++ b/numpy/__init__.py
@@ -79,7 +79,9 @@ test
show_config
Show numpy build configuration
dual
- Overwrite certain functions with high-performance Scipy tools
+ Overwrite certain functions with high-performance SciPy tools.
+ Note: `numpy.dual` is deprecated. Use the functions from NumPy or Scipy
+ directly instead of importing them from `numpy.dual`.
matlib
Make everything matrices.
__version__