diff options
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/__init__.pyi | 3 | ||||
-rw-r--r-- | numpy/math.pyi | 4 | ||||
-rw-r--r-- | numpy/tests/typing/reveal/modules.py | 1 |
3 files changed, 0 insertions, 8 deletions
diff --git a/numpy/__init__.pyi b/numpy/__init__.pyi index 005a15613..6c32bd2f6 100644 --- a/numpy/__init__.pyi +++ b/numpy/__init__.pyi @@ -55,15 +55,12 @@ from . import ( lib, linalg, ma, - math, matrixlib, - os, polynomial, random, rec, testing, version, - warnings, ) # TODO: remove when the full numpy namespace is defined diff --git a/numpy/math.pyi b/numpy/math.pyi deleted file mode 100644 index 3938d68de..000000000 --- a/numpy/math.pyi +++ /dev/null @@ -1,4 +0,0 @@ -from typing import Any - -# TODO: remove when the full numpy namespace is defined -def __getattr__(name: str) -> Any: ... diff --git a/numpy/tests/typing/reveal/modules.py b/numpy/tests/typing/reveal/modules.py index 39eb2dbcb..736aae10c 100644 --- a/numpy/tests/typing/reveal/modules.py +++ b/numpy/tests/typing/reveal/modules.py @@ -11,7 +11,6 @@ reveal_type(np.fft) # E: ModuleType reveal_type(np.lib) # E: ModuleType reveal_type(np.linalg) # E: ModuleType reveal_type(np.ma) # E: ModuleType -reveal_type(np.math) # E: ModuleType reveal_type(np.matrixlib) # E: ModuleType reveal_type(np.polynomial) # E: ModuleType reveal_type(np.random) # E: ModuleType |