summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-05-04 20:42:08 (GMT)
committerGeorg Brandl <georg@python.org>2009-05-04 20:42:08 (GMT)
commit2ca9be4a0ce7e45bc2bdbcb1028a4b1e11460ad3 (patch)
treea5805c1273bfabc0b616b8a46533e1ea1c17009e /Doc/reference
parent2aabce73483153fc75b4a0d46186aa25f1fe2397 (diff)
downloadcpython-2ca9be4a0ce7e45bc2bdbcb1028a4b1e11460ad3.zip
cpython-2ca9be4a0ce7e45bc2bdbcb1028a4b1e11460ad3.tar.gz
cpython-2ca9be4a0ce7e45bc2bdbcb1028a4b1e11460ad3.tar.bz2
#5925: fix highlighting of keyword table.
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/lexical_analysis.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/reference/lexical_analysis.rst b/Doc/reference/lexical_analysis.rst
index 21449eb..e88c0ba 100644
--- a/Doc/reference/lexical_analysis.rst
+++ b/Doc/reference/lexical_analysis.rst
@@ -339,7 +339,9 @@ Keywords
The following identifiers are used as reserved words, or *keywords* of the
language, and cannot be used as ordinary identifiers. They must be spelled
-exactly as written here::
+exactly as written here:
+
+.. sourcecode:: text
and del from not while
as elif global or with