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

Method __getattr__

numpy/ma/tests/test_subclassing.py:382–383  ·  view source on GitHub ↗
(self, attr)

Source from the content-addressed store, hash-verified

380 self.units = units
381
382 def __getattr__(self, attr):
383 return getattr(self.magnitude, attr)
384
385
386def test_array_no_inheritance():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected