Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ __newobj__
Function
__newobj__
Lib/copyreg.py:103–104 ·
view source on GitHub ↗
(cls, *args)
Source
from the content-addressed store, hash-verified
101
# Helper for __reduce_ex__ protocol 2
102
103
def
__newobj__(cls, *args):
104
return
cls.__new__(cls, *args)
105
106
def
__newobj_ex__(cls, args, kwargs):
107
""
"Used by pickle protocol 4, instead of __newobj__ to allow classes
with
Callers
nothing calls this directly
Calls
1
__new__
Method · 0.45
Tested by
no test coverage detected