Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ WithRepr
Class
WithRepr
Lib/test/test_str.py:68–72 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
66
return
self.value
67
68
class
WithRepr:
69
def
__init__(self, value):
70
self.value = value
71
def
__repr__(self):
72
return
self.value
73
74
class
StrTest(string_tests.StringLikeTest,
75
string_tests.MixinStrUnicodeTest,
Callers
3
test_ascii
Method · 0.85
test_repr
Method · 0.85
test_conversion
Method · 0.85
Calls
no outgoing calls
Tested by
3
test_ascii
Method · 0.68
test_repr
Method · 0.68
test_conversion
Method · 0.68