Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ list_custom_repr
Class
list_custom_repr
Lib/test/test_pprint.py:26–28 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
24
return
list.__repr__(self)
25
26
class
list_custom_repr(list):
27
def
__repr__(self):
28
return
'*'
*len(list.__repr__(self))
29
30
class
tuple2(tuple):
31
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…