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

Method __repr__

Lib/test/mapping_tests.py:626–627  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

624
625 class BadRepr(object):
626 def __repr__(self):
627 raise Exc()
628
629 d = self._full_mapping({1: BadRepr()})
630 self.assertRaises(Exc, repr, d)

Callers

nothing calls this directly

Calls 1

ExcClass · 0.70

Tested by

no test coverage detected