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

Method __getattr__

numpy/f2py/tests/test_array_from_pyobj.py:88–92  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

86 self.flags = flags
87
88 def __getattr__(self, name):
89 name = name.lower()
90 if name == "in_":
91 name = "in"
92 return self.__class__(self.intent_list + [name])
93
94 def __str__(self):
95 return "intent(%s)" % (",".join(self.intent_list))

Callers

nothing calls this directly

Calls 1

lowerMethod · 0.80

Tested by

no test coverage detected