Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_dicts
Method · 0.45
test_str_of_str_subclass
Method · 0.45
Calls
1
__getstate__
Method · 0.95
Tested by
no test coverage detected