Files
MoFin/venv/lib/python3.12/site-packages/numpy/char/__init__.py
T
知微 fa45d8aa5f fix: 小果地址统一node122(兼容LAN+EasyTier)
- health_checklist.json: 192.168.1.122→node122
- ocr_client.py: docstring IP→node122
- docs/market-data-requirements.md: IP→node122
- 所有API调用通过ProxyHandler({})绕过系统代理
  Privoxy对node122:18003返回500,直连正常
2026-06-30 02:56:35 +08:00

32 lines
828 B
Python

from numpy._core.defchararray import __all__, __doc__
__DEPRECATED = frozenset({"chararray", "array", "asarray"})
def __getattr__(name: str):
if name in __DEPRECATED:
# Deprecated in NumPy 2.5, 2026-01-07
import warnings
warnings.warn(
(
"The chararray class is deprecated and will be removed in a future "
"release. Use an ndarray with a string or bytes dtype instead."
),
DeprecationWarning,
stacklevel=2,
)
import numpy._core.defchararray as char
if (export := getattr(char, name, None)) is not None:
return export
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
def __dir__() -> list[str]:
import numpy._core.defchararray as char
return dir(char)