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

Method __repr__

Lib/collections/__init__.py:280–284  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

itemsMethod · 0.95

Tested by

no test coverage detected