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

Method __get__

tools/npy_tempita/__init__.py:541–546  ·  view source on GitHub ↗
(self, obj, type=None)

Source from the content-addressed store, hash-verified

539 return ''.join(out)
540
541 def __get__(self, obj, type=None):
542 if obj is None:
543 return self
544 return self.__class__(
545 self._template, self._func_name, self._func_signature,
546 self._body, self._ns, self._pos, bound_self=obj)
547
548 def _parse_signature(self, args, kw):
549 values = {}

Callers 1

test_function_likeFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_function_likeFunction · 0.64