mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Merge the quotes/backslashes fixes with 3.2.
This commit is contained in:
commit
fe6e7e6b30
3 changed files with 7 additions and 7 deletions
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue