Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ C
Class
C
Lib/test/test_str.py:1103–1107 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1101
1102
# classes we'll use for testing
1103
class
C:
1104
def
__init__(self, x=100):
1105
self._x = x
1106
def
__format__(self, spec):
1107
return
spec
1108
1109
class
D:
1110
def
__init__(self, x):
Callers
3
test_format
Method · 0.70
test_format_map
Method · 0.70
test_format_auto_numbering
Method · 0.70
Calls
no outgoing calls
Tested by
3
test_format
Method · 0.56
test_format_map
Method · 0.56
test_format_auto_numbering
Method · 0.56