mirror of
https://github.com/python/cpython.git
synced 2025-07-24 19:54:21 +00:00
link to the correct dis method or function (closes #23561)
This commit is contained in:
parent
9270be7662
commit
29fec92875
1 changed files with 3 additions and 3 deletions
|
@ -62,7 +62,7 @@ compiled code.
|
|||
the disassembled code object.
|
||||
|
||||
If *current_offset* is not None, it refers to an instruction offset
|
||||
in the disassembled code. Setting this means :meth:`dis` will display
|
||||
in the disassembled code. Setting this means :meth:`.dis` will display
|
||||
a "current instruction" marker against the specified opcode.
|
||||
|
||||
.. classmethod:: from_traceback(tb)
|
||||
|
@ -81,8 +81,8 @@ compiled code.
|
|||
|
||||
.. method:: dis()
|
||||
|
||||
Return a formatted view of the bytecode operations (the same as
|
||||
printed by :func:`dis`, but returned as a multi-line string).
|
||||
Return a formatted view of the bytecode operations (the same as printed by
|
||||
:func:`dis.dis`, but returned as a multi-line string).
|
||||
|
||||
.. method:: info()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue