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