MCPcopy Index your code
hub / github.com/python/cpython / __getattr__

Function __getattr__

Lib/_pydecimal.py:6406–6412  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

6404del sys
6405
6406def __getattr__(name):
6407 if name == "__version__":
6408 from warnings import _deprecated
6409
6410 _deprecated("__version__", remove=(3, 20))
6411 return SPEC_VERSION
6412 raise AttributeError(f"module {__name__!r} has no attribute {name!r}")

Callers

nothing calls this directly

Calls 1

_deprecatedFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…