summaryrefslogtreecommitdiffstats
path: root/Lib/base64.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-04-03 15:12:41 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-04-03 15:12:41 (GMT)
commit9f8a8910a415e31808debe6e9fed7f7c3638d42a (patch)
treeffa59e04328fee48f702a8f1ec628a8a83e7b881 /Lib/base64.py
parent72dcb0a7658c6dd99c2798b515c76e8cb311dbf6 (diff)
downloadcpython-9f8a8910a415e31808debe6e9fed7f7c3638d42a.zip
cpython-9f8a8910a415e31808debe6e9fed7f7c3638d42a.tar.gz
cpython-9f8a8910a415e31808debe6e9fed7f7c3638d42a.tar.bz2
Escaped backslashes in docstrings.
Diffstat (limited to 'Lib/base64.py')
-rwxr-xr-xLib/base64.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/base64.py b/Lib/base64.py
index 36c68a6..640f787 100755
--- a/Lib/base64.py
+++ b/Lib/base64.py
@@ -324,7 +324,7 @@ def a85encode(b, *, foldspaces=False, wrapcol=0, pad=False, adobe=False):
instead of 4 consecutive spaces (ASCII 0x20) as supported by 'btoa'. This
feature is not supported by the "standard" Adobe encoding.
- wrapcol controls whether the output should have newline ('\n') characters
+ wrapcol controls whether the output should have newline ('\\n') characters
added to it. If this is non-zero, each output line will be at most this
many characters long.
@@ -434,7 +434,7 @@ _b85dec = None
def b85encode(b, pad=False):
"""Encode an ASCII-encoded byte array in base85 format.
- If pad is true, the input is padded with "\0" so its length is a multiple of
+ If pad is true, the input is padded with "\\0" so its length is a multiple of
4 characters before encoding.
"""
global _b85chars, _b85chars2