Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ get_opnames
Function
get_opnames
Lib/test/test_capi/test_opt.py:72–73 ·
view source on GitHub ↗
(ex)
Source
from the content-addressed store, hash-verified
70
71
72
def
get_opnames(ex):
73
return
list(iter_opnames(ex))
74
75
def
iter_ops(ex):
76
for
item in ex:
Callers
15
test_basic_loop
Method · 0.85
test_unspecialized_unpack
Method · 0.85
test_pop_jump_if_false
Method · 0.85
test_pop_jump_if_none
Method · 0.85
test_pop_jump_if_not_none
Method · 0.85
test_pop_jump_if_true
Method · 0.85
test_jump_backward
Method · 0.85
test_resume
Method · 0.85
test_jump_forward
Method · 0.85
test_for_iter_range
Method · 0.85
test_for_iter_list
Method · 0.85
test_for_iter_tuple
Method · 0.85
Calls
2
list
Class · 0.85
iter_opnames
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…