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

Method __init__

numpy/core/tests/test_multiarray.py:8536–8538  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

8534class TestArrayInterface():
8535 class Foo:
8536 def __init__(self, value):
8537 self.value = value
8538 self.iface = {'typestr': 'f8'}
8539
8540 def __float__(self):
8541 return float(self.value)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected