#15980: properly escape newlines in docstrings. Patch by Serhiy Storchaka.

This commit is contained in:
Ezio Melotti 2012-09-21 16:27:45 +03:00
parent 3d2fc15f82
commit 003014bf1e
4 changed files with 6 additions and 6 deletions

View file

@ -130,7 +130,7 @@ def encode(s, binary=True, maxlinelen=76, eol=NL):
verbatim (this is the default).
Each line of encoded text will end with eol, which defaults to "\\n". Set
this to "\r\n" if you will be using the result of this function directly
this to "\\r\\n" if you will be using the result of this function directly
in an email.
"""
if not s: