Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
25
class
HasNew:
26
def
__new__(cls, *args, **kwargs):
27
return
cls, args, kwargs
28
29
class
B1(np.float64, HasNew):
30
pass
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected