summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-07-03 10:21:50 (GMT)
committerGeorg Brandl <georg@python.org>2010-07-03 10:21:50 (GMT)
commit19b7a87121453fd546596ced61bb683aa4342411 (patch)
treed73c7cdf50ebcaefc48d9bb8f0e58feb2c112bc7 /Doc/library
parent39af05fc6e5dc06a7529612a62db3d3875682ff4 (diff)
downloadcpython-19b7a87121453fd546596ced61bb683aa4342411.zip
cpython-19b7a87121453fd546596ced61bb683aa4342411.tar.gz
cpython-19b7a87121453fd546596ced61bb683aa4342411.tar.bz2
Wrap and use the correct directive.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/dis.rst8
1 files changed, 7 insertions, 1 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index 807ee8b..1b486bf 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -10,7 +10,13 @@ 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.
-.. warning:: 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.
+.. 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`::