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

Method __new__

numpy/core/tests/test_scalarinherit.py:26–27  ·  view source on GitHub ↗
(cls, *args, **kwargs)

Source from the content-addressed store, hash-verified

24
25class HasNew:
26 def __new__(cls, *args, **kwargs):
27 return cls, args, kwargs
28
29class B1(np.float64, HasNew):
30 pass

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected