diff options
| author | Bas van Beek <b.f.van.beek@vu.nl> | 2020-10-19 16:03:18 +0200 |
|---|---|---|
| committer | Bas van Beek <b.f.van.beek@vu.nl> | 2021-01-16 02:22:26 +0100 |
| commit | c6fc6884d3c9bc68872a7adaae2974143a910eac (patch) | |
| tree | ed8438c91d97295b20a770cf9978daef41830be7 /numpy/core | |
| parent | 5c7002926ec8ad12785b36024f9da80b7017ad1c (diff) | |
| download | numpy-c6fc6884d3c9bc68872a7adaae2974143a910eac.tar.gz | |
DEP: Formally deprecate the use of `typeDict`
`typeDict` is a deprecated alias for `sctypeDict` and has been so for >= 14 years (https://github.com/numpy/numpy/commit/668950285c407593a368336ff2e737c5da84af7d)
Diffstat (limited to 'numpy/core')
| -rw-r--r-- | numpy/core/numerictypes.py | 2 | ||||
| -rw-r--r-- | numpy/core/numerictypes.pyi | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/numerictypes.py b/numpy/core/numerictypes.py index e705dd3ea..5a9c50ee3 100644 --- a/numpy/core/numerictypes.py +++ b/numpy/core/numerictypes.py @@ -91,7 +91,7 @@ from numpy.core.multiarray import ( from numpy.core.overrides import set_module # we add more at the bottom -__all__ = ['sctypeDict', 'typeDict', 'sctypes', +__all__ = ['sctypeDict', 'sctypes', 'ScalarType', 'obj2sctype', 'cast', 'nbytes', 'sctype2char', 'maximum_sctype', 'issctype', 'typecodes', 'find_common_type', 'issubdtype', 'datetime_data', 'datetime_as_string', diff --git a/numpy/core/numerictypes.pyi b/numpy/core/numerictypes.pyi index 192015ff1..238495fd3 100644 --- a/numpy/core/numerictypes.pyi +++ b/numpy/core/numerictypes.pyi @@ -26,4 +26,4 @@ def find_common_type( ) -> dtype: ... # TODO: Add annotations for the following objects: -# typeDict, nbytes, cast, ScalarType & typecodes +# nbytes, cast, ScalarType & typecodes |
