MCPcopy Create free account
hub / github.com/numpy/numpy / __getattribute__

Method __getattribute__

numpy/lib/npyio.py:76–80  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

74 self._obj = weakref.proxy(obj)
75
76 def __getattribute__(self, key):
77 try:
78 return object.__getattribute__(self, '_obj')[key]
79 except KeyError:
80 raise AttributeError(key) from None
81
82 def __dir__(self):
83 """

Callers 2

__dir__Method · 0.45
__getattr__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected