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

Method __str__

numpy/core/code_generators/genapi.py:108–110  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

106 self.version = f"NPY_{major}_{minor}_API_VERSION"
107
108 def __str__(self):
109 # Used by version hashing:
110 return self.version
111
112 def add_guard(self, name, normal_define):
113 """Wrap a definition behind a version guard"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected