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

Method __new__

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

Source from the content-addressed store, hash-verified

3231 def test_new_override(self):
3232 class CustomNew(RuntimeError):
3233 def __new__(cls):
3234 return super().__new__(cls)
3235 self.check_note(CustomNew, "")
3236
3237 def test_instance_attribute(self):

Callers

nothing calls this directly

Calls 1

superClass · 0.85

Tested by

no test coverage detected