summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/__init__.pyi5
-rw-r--r--numpy/emath.pyi13
-rw-r--r--numpy/typing/tests/test_isfile.py1
3 files changed, 4 insertions, 15 deletions
diff --git a/numpy/__init__.pyi b/numpy/__init__.pyi
index ed489e35b..09f214602 100644
--- a/numpy/__init__.pyi
+++ b/numpy/__init__.pyi
@@ -184,7 +184,6 @@ else:
from numpy import (
char as char,
ctypeslib as ctypeslib,
- emath as emath,
fft as fft,
lib as lib,
linalg as linalg,
@@ -343,6 +342,10 @@ from numpy.core.shape_base import (
vstack as vstack,
)
+from numpy.lib import (
+ emath as emath,
+)
+
from numpy.lib.index_tricks import (
ravel_multi_index as ravel_multi_index,
unravel_index as unravel_index,
diff --git a/numpy/emath.pyi b/numpy/emath.pyi
deleted file mode 100644
index d0d4af41e..000000000
--- a/numpy/emath.pyi
+++ /dev/null
@@ -1,13 +0,0 @@
-from typing import List
-
-__all__: List[str]
-
-def sqrt(x): ...
-def log(x): ...
-def log10(x): ...
-def logn(n, x): ...
-def log2(x): ...
-def power(x, p): ...
-def arccos(x): ...
-def arcsin(x): ...
-def arctanh(x): ...
diff --git a/numpy/typing/tests/test_isfile.py b/numpy/typing/tests/test_isfile.py
index 569f05435..b617b3873 100644
--- a/numpy/typing/tests/test_isfile.py
+++ b/numpy/typing/tests/test_isfile.py
@@ -10,7 +10,6 @@ FILES = [
ROOT / "__init__.pyi",
ROOT / "char.pyi",
ROOT / "ctypeslib.pyi",
- ROOT / "emath.pyi",
ROOT / "rec.pyi",
ROOT / "core" / "__init__.pyi",
ROOT / "distutils" / "__init__.pyi",