This commit is contained in:
2025-09-07 22:09:54 +02:00
parent e1b817252c
commit 2fc0d000b6
7796 changed files with 2159515 additions and 933 deletions

View File

@ -0,0 +1,12 @@
def __getattr__(attr_name):
from numpy._core import numeric
from ._utils import _raise_warning
sentinel = object()
ret = getattr(numeric, attr_name, sentinel)
if ret is sentinel:
raise AttributeError(
f"module 'numpy.core.numeric' has no attribute {attr_name}")
_raise_warning(attr_name, "numeric")
return ret