summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2010-07-21 09:50:42 (GMT)
committerBrett Cannon <bcannon@gmail.com>2010-07-21 09:50:42 (GMT)
commitb034c75495cf033b3ec7a1b6ea6b1f4c1338ecb4 (patch)
treee2012e1f787bf132ae1494a65ac4465f74f7853c /Doc
parent823de0028639ef94a58a0a8652e8e7e15eeee198 (diff)
downloadcpython-b034c75495cf033b3ec7a1b6ea6b1f4c1338ecb4.zip
cpython-b034c75495cf033b3ec7a1b6ea6b1f4c1338ecb4.tar.gz
cpython-b034c75495cf033b3ec7a1b6ea6b1f4c1338ecb4.tar.bz2
Backport r82456
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/dis.rst12
1 files changed, 9 insertions, 3 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index a73e6b3..e97743c 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -5,12 +5,18 @@
:synopsis: Disassembler for Python bytecode.
-The :mod:`dis` module supports the analysis of Python :term:`bytecode` by
-disassembling it. Since there is no Python assembler, this module defines the
-Python assembly language. The Python bytecode which this module takes as an
+The :mod:`dis` module supports the analysis of CPython :term:`bytecode` by
+disassembling it. The CPython bytecode which this module takes as an
input is defined in the file :file:`Include/opcode.h` and used by the compiler
and the interpreter.
+.. impl-detail::
+
+ Bytecode is an implementation detail of the CPython interpreter! No
+ guarantees are made that bytecode will not be added, removed, or changed
+ between versions of Python. Use of this module should not be considered to
+ work across Python VMs or Python releases.
+
Example: Given the function :func:`myfunc`::
def myfunc(alist):