Commit c70c0c7f authored by Benjamin Peterson's avatar Benjamin Peterson

link to the correct dis method or function (closes #23561)

parent 531a4ea8
...@@ -62,7 +62,7 @@ compiled code. ...@@ -62,7 +62,7 @@ compiled code.
the disassembled code object. the disassembled code object.
If *current_offset* is not None, it refers to an instruction offset 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. a "current instruction" marker against the specified opcode.
.. classmethod:: from_traceback(tb) .. classmethod:: from_traceback(tb)
...@@ -81,8 +81,8 @@ compiled code. ...@@ -81,8 +81,8 @@ compiled code.
.. method:: dis() .. method:: dis()
Return a formatted view of the bytecode operations (the same as Return a formatted view of the bytecode operations (the same as printed by
printed by :func:`dis`, but returned as a multi-line string). :func:`dis.dis`, but returned as a multi-line string).
.. method:: info() .. method:: info()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment