summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-09-20 06:47:03 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2012-09-20 06:47:03 (GMT)
commit694f2331c6959872e05f76c757799be0c4b00748 (patch)
treefa1a65224e887715fac2ef02a2fb1d13d4ad6d00 /Doc/library
parent8bbcb584ddc74e6b2a58ee5bda8387776300d815 (diff)
downloadcpython-694f2331c6959872e05f76c757799be0c4b00748.zip
cpython-694f2331c6959872e05f76c757799be0c4b00748.tar.gz
cpython-694f2331c6959872e05f76c757799be0c4b00748.tar.bz2
Fix a few quotes/backslashes.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/doctest.rst2
-rw-r--r--Doc/library/pyexpat.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/doctest.rst b/Doc/library/doctest.rst
index cad03bd..ed53f06 100644
--- a/Doc/library/doctest.rst
+++ b/Doc/library/doctest.rst
@@ -338,7 +338,7 @@ The fine print:
Backslashes in a raw docstring: m\n
Otherwise, the backslash will be interpreted as part of the string. For example,
- the "\\" above would be interpreted as a newline character. Alternatively, you
+ the ``\n`` above would be interpreted as a newline character. Alternatively, you
can double each backslash in the doctest version (and not use a raw string)::
>>> def f(x):
diff --git a/Doc/library/pyexpat.rst b/Doc/library/pyexpat.rst
index a648cfa..861546c 100644
--- a/Doc/library/pyexpat.rst
+++ b/Doc/library/pyexpat.rst
@@ -402,7 +402,7 @@ otherwise stated.
.. method:: xmlparser.CommentHandler(data)
Called for comments. *data* is the text of the comment, excluding the leading
- '``<!-``\ ``-``' and trailing '``-``\ ``->``'.
+ ``'<!-``\ ``-'`` and trailing ``'-``\ ``->'``.
.. method:: xmlparser.StartCdataSectionHandler()