Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ get_instructions
Method
get_instructions
Lib/test/test_dis.py:2241–2242 ·
view source on GitHub ↗
(self, code)
Source
from the content-addressed store, hash-verified
2239
2240
2241
def
get_instructions(self, code):
2242
return
dis._get_instructions_bytes(code)
2243
2244
def
test_start_offset(self):
2245
# When no extended args are present,
Callers
15
test_start_offset
Method · 0.95
test_cache_offset_and_end_offset
Method · 0.95
getclosurevars
Function · 0.80
find_first_executable_line
Function · 0.80
test_jump_threading
Method · 0.80
count_instr_recursively
Function · 0.80
check_jump_targets
Method · 0.80
test_constant_folding_tuples_of_constants
Method · 0.80
test_constant_folding_unaryop
Method · 0.80
test_elim_extra_return
Method · 0.80
test_elim_jump_to_return
Method · 0.80
test_elim_jump_after_return1
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected