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

Method __repr__

Lib/collections/__init__.py:279–283  ·  view source on GitHub ↗

od.__repr__() <==> repr(od)

(self)

Source from the content-addressed store, hash-verified

277
278 @_recursive_repr()
279 def __repr__(self):
280 'od.__repr__() <==> repr(od)'
281 if not self:
282 return '%s()' % (self.__class__.__name__,)
283 return '%s(%r)' % (self.__class__.__name__, dict(self.items()))
284
285 def __reduce__(self):
286 'Return state information for pickling'

Callers

nothing calls this directly

Calls 1

itemsMethod · 0.95

Tested by

no test coverage detected