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

Method __repr__

Lib/test/test_descr.py:5563–5564  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

5561 for k, v in state.items():
5562 setattr(self, k, v)
5563 def __repr__(self):
5564 return "%s()<%r>" % (type(self).__name__, self.__getstate__())
5565
5566 class D(C):
5567 "A subclass of a class with slots."

Callers 2

test_dictsMethod · 0.45

Calls 1

__getstate__Method · 0.95

Tested by

no test coverage detected