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

Method __new__

Lib/doctest.py:114–117  ·  view source on GitHub ↗
(cls, failed, attempted, *, skipped=0)

Source from the content-addressed store, hash-verified

112
113class TestResults(namedtuple('TestResults', 'failed attempted')):
114 def __new__(cls, failed, attempted, *, skipped=0):
115 results = super().__new__(cls, failed, attempted)
116 results.skipped = skipped
117 return results
118
119 def __repr__(self):
120 if self.skipped:

Callers

nothing calls this directly

Calls 1

superClass · 0.85

Tested by

no test coverage detected