mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
#15980: properly escape newlines in docstrings. Patch by Serhiy Storchaka.
This commit is contained in:
parent
3d2fc15f82
commit
003014bf1e
4 changed files with 6 additions and 6 deletions
|
@ -212,7 +212,7 @@ class Message:
|
|||
You may override this method if your application wants to bend the
|
||||
rules, e.g. to strip trailing whitespace, or to recognize MH template
|
||||
separators ('--------'). For convenience (e.g. for code reading from
|
||||
sockets) a line consisting of \r\n also matches.
|
||||
sockets) a line consisting of \\r\\n also matches.
|
||||
"""
|
||||
return line in _blanklines
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue