MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / __newobj__

Function __newobj__

tools/python-3.11.9-amd64/Lib/copyreg.py:104–105  ·  view source on GitHub ↗
(cls, *args)

Source from the content-addressed store, hash-verified

102# Helper for __reduce_ex__ protocol 2
103
104def __newobj__(cls, *args):
105 return cls.__new__(cls, *args)
106
107def __newobj_ex__(cls, args, kwargs):
108 """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