summaryrefslogtreecommitdiffstats
path: root/Doc/documenting
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-01-03 20:47:01 (GMT)
committerGeorg Brandl <georg@python.org>2009-01-03 20:47:01 (GMT)
commite92818f58c134549c8820073037a1655330bbea1 (patch)
treef223e03ec73fdfed4c6f7eb375e55eddf399808e /Doc/documenting
parentae24e7b5a2cfeb3e40ea6e619c01d27a79cf740c (diff)
downloadcpython-e92818f58c134549c8820073037a1655330bbea1.zip
cpython-e92818f58c134549c8820073037a1655330bbea1.tar.gz
cpython-e92818f58c134549c8820073037a1655330bbea1.tar.bz2
Fix uses of the default role.
Diffstat (limited to 'Doc/documenting')
-rw-r--r--Doc/documenting/markup.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/documenting/markup.rst b/Doc/documenting/markup.rst
index e6f6a52..b3f5a4a 100644
--- a/Doc/documenting/markup.rst
+++ b/Doc/documenting/markup.rst
@@ -599,7 +599,7 @@ units as well as normal text:
Example::
.. versionadded:: 2.5
- The `spam` parameter.
+ The *spam* parameter.
Note that there must be no blank line between the directive head and the
explanation; this is to make these blocks visually continuous in the markup.
@@ -760,7 +760,7 @@ the definition of the symbol. There is this directive:
Blank lines are not allowed within ``productionlist`` directive arguments.
The definition can contain token names which are marked as interpreted text
- (e.g. ``sum ::= `integer` "+" `integer```) -- this generates cross-references
+ (e.g. ``unaryneg ::= "-" `integer```) -- this generates cross-references
to the productions of these tokens.
Note that no further reST parsing is done in the production, so that you