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

Function _lazy_load_getattr_static

Lib/typing.py:1966–1970  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1964
1965@functools.cache
1966def _lazy_load_getattr_static():
1967 # Import getattr_static lazily so as not to slow down the import of typing.py
1968 # Cache the result so we don't slow down _ProtocolMeta.__instancecheck__ unnecessarily
1969 from inspect import getattr_static
1970 return getattr_static
1971
1972
1973_cleanups.append(_lazy_load_getattr_static.cache_clear)

Callers 1

__instancecheck__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…