MCPcopy Index your code
hub / github.com/python/cpython / __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
103def __newobj__(cls, *args):
104 return cls.__new__(cls, *args)
105
106def __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

Used in the wild real call sites across dependent graphs

searching dependent graphs…