Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ func
Method
func
Lib/test/test_capi/test_misc.py:2817–2818 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2815
def
__getitem__(self, other):
2816
return
None
2817
def
func():
2818
C()[42]
2819
names = [
"func"
,
"__getitem__"
]
2820
self.do_test(func, names)
2821
Callers
nothing calls this directly
Calls
6
list
Class · 0.85
C
Class · 0.70
gen
Function · 0.70
D
Class · 0.70
inner
Function · 0.50
outer
Function · 0.50
Tested by
no test coverage detected