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

Method __init__

numpy/core/tests/test_overrides.py:543–544  ·  view source on GitHub ↗
(self, function=None)

Source from the content-addressed store, hash-verified

541 def setup_method(self):
542 class MyArray():
543 def __init__(self, function=None):
544 self.function = function
545
546 def __array_function__(self, func, types, args, kwargs):
547 assert func is getattr(np, func.__name__)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected