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

Skip to content

Commit 29fec92

Browse files
committed
link to the correct dis method or function (closes #23561)
1 parent 9270be7 commit 29fec92

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/library/dis.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ compiled code.
6262
the disassembled code object.
6363

6464
If *current_offset* is not None, it refers to an instruction offset
65-
in the disassembled code. Setting this means :meth:`dis` will display
65+
in the disassembled code. Setting this means :meth:`.dis` will display
6666
a "current instruction" marker against the specified opcode.
6767

6868
.. classmethod:: from_traceback(tb)
@@ -81,8 +81,8 @@ compiled code.
8181

8282
.. method:: dis()
8383

84-
Return a formatted view of the bytecode operations (the same as
85-
printed by :func:`dis`, but returned as a multi-line string).
84+
Return a formatted view of the bytecode operations (the same as printed by
85+
:func:`dis.dis`, but returned as a multi-line string).
8686

8787
.. method:: info()
8888

0 commit comments

Comments
 (0)