Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ __init__
Method
__init__
Lib/test/test_str.py:1122–1123 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
1120
# class with __repr__, but no __format__ or __str__
1121
class
F:
1122
def
__init__(self, x):
1123
self.x = x
1124
def
__repr__(self):
1125
return
'F('
+ self.x +
')'
1126
Callers
1
testImmutable
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected