Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ set_custom_repr
Class
set_custom_repr
Lib/test/test_pprint.py:48–50 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
46
return
set.__repr__(self)
47
48
class
set_custom_repr(set):
49
def
__repr__(self):
50
return
'*'
*len(set.__repr__(self))
51
52
class
frozenset2(frozenset):
53
pass
Callers
1
test_container_repr_override_called
Method · 0.85
Calls
no outgoing calls
Tested by
1
test_container_repr_override_called
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…