MCPcopy Index your code
hub / github.com/python/cpython / __new__

Method __new__

Lib/test/test_class.py:768–769  ·  view source on GitHub ↗
(cls, *args, **kwargs)

Source from the content-addressed store, hash-verified

766 # Class with both `__init__` & `__new__` method overridden
767 class D:
768 def __new__(cls, *args, **kwargs):
769 super().__new__(cls, *args, **kwargs)
770 def __init__(self, *args, **kwargs):
771 super().__init__(*args, **kwargs)
772

Callers 1

Calls 1

superClass · 0.85

Tested by

no test coverage detected