Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/ipython
/ __getattr__
Method
__getattr__
IPython/utils/tests/test_dir2.py:46–47 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
44
45
class
MisbehavingGetattr(object):
46
def
__getattr__(self):
47
raise
KeyError(
"I should be caught"
)
48
49
def
some_method(self):
50
pass
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected