Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Prev Previous commit
Next Next commit
Update Lib/dis.py
Co-authored-by: Guido van Rossum <[email protected]>
  • Loading branch information
tomasr8 and gvanrossum authored May 25, 2023
commit da7163e2a7d3e7f68671fa9ff1cf8b1add547431
6 changes: 4 additions & 2 deletions Lib/dis.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,10 @@ def show_code(co, *, file=None):
_Instruction.argval.__doc__ = "Resolved arg value (if known), otherwise same as arg"
_Instruction.argrepr.__doc__ = "Human readable description of operation argument"
_Instruction.offset.__doc__ = "Start index of operation within bytecode sequence"
_Instruction.start_offset.__doc__ = "Start index of operation within bytecode sequence including extended args if present. " \
"Otherwise equal to Instruction.offset"
_Instruction.start_offset.__doc__ = (
"Start index of operation within bytecode sequence, including extended args if present; "
"otherwise equal to Instruction.offset"
)
_Instruction.starts_line.__doc__ = "Line started by this opcode (if any), otherwise None"
_Instruction.is_jump_target.__doc__ = "True if other code jumps to here, otherwise False"
_Instruction.positions.__doc__ = "dis.Positions object holding the span of source code covered by this instruction"
Expand Down