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

Method __init__

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

Source from the content-addressed store, hash-verified

356
357class GlobalVarApi:
358 def __init__(self, name, index, type, api_name):
359 self.name = name
360 self.index = index
361 self.type = type
362 self.api_name = api_name
363
364 def define_from_array_api_string(self):
365 return "#define %s (*(%s *)%s[%d])" % (self.name,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected