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

Method __getattr__

numpy/lib/user_array.py:261–264  ·  view source on GitHub ↗
(self, attr)

Source from the content-addressed store, hash-verified

259
260 # Only called after other approaches fail.
261 def __getattr__(self, attr):
262 if (attr == 'array'):
263 return object.__getattribute__(self, attr)
264 return self.array.__getattribute__(attr)
265
266#############################################################
267# Test of class container

Callers

nothing calls this directly

Calls 1

__getattribute__Method · 0.45

Tested by

no test coverage detected