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

Method __float__

numpy/core/tests/test_multiarray.py:8540–8541  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

8538 self.iface = {'typestr': 'f8'}
8539
8540 def __float__(self):
8541 return float(self.value)
8542
8543 @property
8544 def __array_interface__(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected