]> granicus.if.org Git - python/commitdiff
link to the correct dis method or function (closes #23561)
authorBenjamin Peterson <benjamin@python.org>
Mon, 2 Mar 2015 14:27:43 +0000 (09:27 -0500)
committerBenjamin Peterson <benjamin@python.org>
Mon, 2 Mar 2015 14:27:43 +0000 (09:27 -0500)
Doc/library/dis.rst

index 5f1923f311026485fb9b7d01096393132232e88c..562073687ea8262e3df761b3309b8a46283c4117 100644 (file)
@@ -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()