We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2b5e289 + e945af9 commit 1b4ba64Copy full SHA for 1b4ba64
array_api_compat/numpy/__init__.py
@@ -23,13 +23,6 @@
23
24
__import__(__package__ + ".fft")
25
26
-from ..common._helpers import * # noqa: F403
27
-from .linalg import matrix_transpose, vecdot # noqa: F401
28
-
29
-try:
30
- # Used in asarray(). Not present in older versions.
31
- from numpy import _CopyMode # noqa: F401
32
-except ImportError:
33
- pass
+from .linalg import matrix_transpose, vecdot # type: ignore[no-redef] # noqa: F401
34
35
__array_api_version__: Final = "2024.12"
0 commit comments