Searched refs:get_instructions (Results 1 – 11 of 11) sorted by relevance
/third_party/python/Lib/test/ |
D | test_peepholer.py | 9 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):
|
D | test_dis.py | 1165 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))
|
D | test_dtrace.py | 137 return dis.get_instructions(c)
|
D | test_compile.py | 693 list(dis.get_instructions(unused_code_at_end))[-1].opname) 772 opcodes = list(dis.get_instructions(func)) 791 opcodes = list(dis.get_instructions(func)) 815 opcodes = list(dis.get_instructions(func))
|
D | test_positional_only_arg.py | 439 codes = [(i.opname, i.argval) for i in dis.get_instructions(g)]
|
D | test_ast.py | 1708 for instr in dis.get_instructions(co):
|
/third_party/python/Lib/test/support/ |
D | bytecode_helper.py | 19 for instr in dis.get_instructions(x): 33 for instr in dis.get_instructions(x):
|
/third_party/python/Lib/ |
D | dis.py | 261 def get_instructions(x, *, first_line=None): function
|
/third_party/python/Doc/library/ |
D | dis.rst | 61 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/ |
D | 3.4.rst | 723 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/ |
D | HISTORY | 3443 - Issue #19378: the "line_offset" parameter in the new "dis.get_instructions" 4999 - Issue #11816: multiple improvements to the dis module: get_instructions
|