Home
last modified time | relevance | path

Searched refs:get_instructions (Results 1 – 11 of 11) sorted by relevance

/third_party/python/Lib/test/
Dtest_peepholer.py9 for instr in dis.get_instructions(f):
23 instructions = list(dis.get_instructions(code))
145 load_consts = [instr for instr in dis.get_instructions(code)
231 for instr in dis.get_instructions(code):
289 for instr in dis.get_instructions(code):
297 for instr in dis.get_instructions(negzero):
316 returns = [instr for instr in dis.get_instructions(f)
330 returns = [instr for instr in dis.get_instructions(f)
407 returns = [instr for instr in dis.get_instructions(f)
435 for instr in dis.get_instructions(code):
Dtest_dis.py1165 actual = dis.get_instructions(simple)
1169 actual = dis.get_instructions(simple, first_line=None)
1173 actual = dis.get_instructions(outer, first_line=expected_outer_line)
1179 actual = dis.get_instructions(f, first_line=expected_f_line)
1185 actual = dis.get_instructions(inner, first_line=expected_inner_line)
1189 actual = dis.get_instructions(jumpy, first_line=expected_jumpy_line)
1209 via_generator = list(dis.get_instructions(obj))
Dtest_dtrace.py137 return dis.get_instructions(c)
Dtest_compile.py680 list(dis.get_instructions(unused_code_at_end))[-1].opname)
759 opcodes = list(dis.get_instructions(func))
778 opcodes = list(dis.get_instructions(func))
802 opcodes = list(dis.get_instructions(func))
Dtest_positional_only_arg.py439 codes = [(i.opname, i.argval) for i in dis.get_instructions(g)]
Dtest_ast.py1700 for instr in dis.get_instructions(co):
/third_party/python/Lib/test/support/
Dbytecode_helper.py19 for instr in dis.get_instructions(x):
33 for instr in dis.get_instructions(x):
/third_party/python/Lib/
Ddis.py261 def get_instructions(x, *, first_line=None): function
/third_party/python/Doc/library/
Ddis.rst61 notably :func:`get_instructions`, as iterating over a :class:`Bytecode`
217 .. function:: get_instructions(x, *, first_line=None)
271 The :func:`get_instructions` function and :class:`Bytecode` class provide
/third_party/python/Doc/whatsnew/
D3.4.rst723 A new method, :func:`~dis.get_instructions`, provides an iterator that emits
730 >>> for instr in dis.get_instructions(lambda x: x + 1):
/third_party/python/Misc/
DHISTORY3443 - Issue #19378: the "line_offset" parameter in the new "dis.get_instructions"
4999 - Issue #11816: multiple improvements to the dis module: get_instructions