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

Class StealRef

numpy/core/code_generators/genapi.py:123–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121
122
123class StealRef:
124 def __init__(self, arg):
125 self.arg = arg # counting from 1
126
127 def __str__(self):
128 try:
129 return ' '.join('NPY_STEALS_REF_TO_ARG(%d)' % x for x in self.arg)
130 except TypeError:
131 return 'NPY_STEALS_REF_TO_ARG(%d)' % self.arg
132
133
134class Function:

Callers 1

numpy_api.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected