MCPcopy 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
72def get_opnames(ex):
73 return list(iter_opnames(ex))
74
75def iter_ops(ex):
76 for item in ex:

Callers 15

test_basic_loopMethod · 0.85
test_pop_jump_if_noneMethod · 0.85
test_pop_jump_if_trueMethod · 0.85
test_jump_backwardMethod · 0.85
test_resumeMethod · 0.85
test_jump_forwardMethod · 0.85
test_for_iter_rangeMethod · 0.85
test_for_iter_listMethod · 0.85
test_for_iter_tupleMethod · 0.85

Calls 2

listClass · 0.85
iter_opnamesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…