MCPcopy Index your code
hub / github.com/RustPython/RustPython / __new__

Method __new__

Lib/abc.py:105–108  ·  view source on GitHub ↗
(mcls, name, bases, namespace, /, **kwargs)

Source from the content-addressed store, hash-verified

103 even via super()).
104 """
105 def __new__(mcls, name, bases, namespace, /, **kwargs):
106 cls = super().__new__(mcls, name, bases, namespace, **kwargs)
107 _abc_init(cls)
108 return cls
109
110 def register(cls, subclass):
111 """Register a virtual subclass of an ABC.

Callers

nothing calls this directly

Calls 2

_abc_initFunction · 0.90
superClass · 0.85

Tested by

no test coverage detected