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

Method is_intent

numpy/f2py/tests/test_array_from_pyobj.py:100–104  ·  view source on GitHub ↗
(self, *names)

Source from the content-addressed store, hash-verified

98 return "Intent(%r)" % (self.intent_list)
99
100 def is_intent(self, *names):
101 for name in names:
102 if name not in self.intent_list:
103 return False
104 return True
105
106 def is_intent_exact(self, *names):
107 return len(self.intent_list) == len(names) and self.is_intent(*names)

Callers 3

is_intent_exactMethod · 0.95
__init__Method · 0.80
test_in_outMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected