MCPcopy Index your code
hub / github.com/ipython/ipython / __getattr__

Function __getattr__

IPython/utils/generics.py:25–35  ·  view source on GitHub ↗
(name: str)

Source from the content-addressed store, hash-verified

23
24
25def __getattr__(name: str) -> Any:
26 if name == "inspect_object":
27 warnings.warn(
28 "inspect_object is deprecated since IPython 9.15 and will be "
29 "removed in a future version. It is no longer used within "
30 "IPython, so registering handlers on it has no effect.",
31 DeprecationWarning,
32 stacklevel=2,
33 )
34 return _inspect_object
35 raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
36
37
38@singledispatch

Callers

nothing calls this directly

Calls 1

warnMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…