Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ M
Class
M
Lib/test/test_str.py:1148–1153 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1146
return
int.__format__(self * 2, format_spec)
1147
1148
class
M:
1149
def
__init__(self, x):
1150
self.x = x
1151
def
__repr__(self):
1152
return
'M('
+ self.x +
')'
1153
__str__ = None
1154
1155
class
N:
1156
def
__init__(self, x):
Callers
1
test_format
Method · 0.70
Calls
no outgoing calls
Tested by
1
test_format
Method · 0.56