Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/python/cpython
/ TypeWithSpaces
Class
TypeWithSpaces
Lib/test/test_reprlib.py:637–638 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
635
636
def
test_custom_repr_class_with_spaces(self):
637
class
TypeWithSpaces:
638
pass
639
640
t = TypeWithSpaces()
641
type(t).__name__ =
"type with spaces"
Callers
1
test_custom_repr_class_with_spaces
Method · 0.85
Calls
no outgoing calls
Tested by
1
test_custom_repr_class_with_spaces
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…