Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
getlimits.py11 linesDownload Raw Back to core
1def __getattr__(attr_name):
2    from numpy._core import getlimits
3
4    from ._utils import _raise_warning
5    ret = getattr(getlimits, attr_name, None)
6    if ret is None:
7        raise AttributeError(
8            f"module 'numpy.core.getlimits' has no attribute {attr_name}")
9    _raise_warning(attr_name, "getlimits")
10    return ret
11 
codekingpro/portable-devtools · Team Ai