MCPcopy Index your code
hub / github.com/python/cpython / list

Class list

Lib/test/test_reprlib.py:619–621  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

617 # Issue #113570: repr() should not be fooled
618 # by a shadowed builtin function
619 class list:
620 def __repr__(self):
621 return "not builtins.list"
622
623 self.assertEqual(r(list()), "not builtins.list")
624

Callers 15

conf.pyFile · 0.85
testFunction · 0.85
get_diff_linesFunction · 0.85
process_touched_warningsFunction · 0.85
fix_uplinkFunction · 0.85
mainFunction · 0.85
all_host_triplesFunction · 0.85
cleanFunction · 0.85
wasi_sdk_envFunction · 0.85
_make_keyFunction · 0.85
_c3_mroFunction · 0.85

Calls

no outgoing calls

Tested by 15

output_differenceMethod · 0.68
test_streamreaderMethod · 0.68
test_streamwriterMethod · 0.68
test_insortMethod · 0.68
test_vsBuiltinSortMethod · 0.68
test_stream_bomMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…