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

Function __getattr__

Lib/platform.py:1436–1442  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

1434
1435
1436def __getattr__(name):
1437 if name == "__version__":
1438 from warnings import _deprecated
1439
1440 _deprecated("__version__", remove=(3, 20))
1441 return "1.1.0" # Do not change
1442 raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
1443
1444
1445if __name__ == "__main__":

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…