diff options
author | Bas van Beek <b.f.van.beek@vu.nl> | 2020-08-19 15:49:57 +0200 |
---|---|---|
committer | Bas van Beek <b.f.van.beek@vu.nl> | 2020-08-19 15:49:57 +0200 |
commit | 160a782381d2f723b0f1d836503e13eedeaaf7aa (patch) | |
tree | 83ae95bec1513282be5a3b91906a3e25b485c641 /numpy | |
parent | e91e31eab3f6a4af1498635c6c80d4ef4263e1d9 (diff) | |
download | numpy-160a782381d2f723b0f1d836503e13eedeaaf7aa.tar.gz |
REV: Removed one last builtin module
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 |