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

Method __new__

Lib/test/test_codecs.py:3222–3223  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

3220 def test_new_override(self):
3221 class CustomNew(RuntimeError):
3222 def __new__(cls):
3223 return super().__new__(cls)
3224 self.check_note(CustomNew, "")
3225
3226 def test_instance_attribute(self):

Callers

nothing calls this directly

Calls 1

superClass · 0.85

Tested by

no test coverage detected