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

Method __init__

numpy/core/code_generators/genapi.py:382–386  ·  view source on GitHub ↗
(self, name, index, api_name)

Source from the content-addressed store, hash-verified

380# array api
381class BoolValuesApi:
382 def __init__(self, name, index, api_name):
383 self.name = name
384 self.index = index
385 self.type = 'PyBoolScalarObject'
386 self.api_name = api_name
387
388 def define_from_array_api_string(self):
389 return "#define %s ((%s *)%s[%d])" % (self.name,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected