diff options
author | Benjamin Peterson <benjamin@python.org> | 2015-03-02 14:27:43 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2015-03-02 14:27:43 (GMT) |
commit | 29fec9287500a8718e5a0e2acb2df06b4e15a792 (patch) | |
tree | 37d1c5ebac34d5610b128725291238154b7a011f /Doc/library/dis.rst | |
parent | 9270be76624b6f45ab79c8c6ce7b965b3b0e8613 (diff) | |
download | cpython-29fec9287500a8718e5a0e2acb2df06b4e15a792.zip cpython-29fec9287500a8718e5a0e2acb2df06b4e15a792.tar.gz cpython-29fec9287500a8718e5a0e2acb2df06b4e15a792.tar.bz2 |
link to the correct dis method or function (closes #23561)
Diffstat (limited to 'Doc/library/dis.rst')
-rw-r--r-- | Doc/library/dis.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index 5f1923f..5620736 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -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() |