summaryrefslogtreecommitdiff
path: root/Lib/base64.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-04-03 18:13:23 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2015-04-03 18:13:23 +0300
commit50ef0f41afd313ed3c433f724e6aaa79d7e55c02 (patch)
treee33b1fe0c2fb07b6b65b7ad5f5c0e56adce7c465 /Lib/base64.py
parent32ed7509523517a3737e45123609048c75440591 (diff)
parent9f8a8910a415e31808debe6e9fed7f7c3638d42a (diff)
downloadcpython-git-50ef0f41afd313ed3c433f724e6aaa79d7e55c02.tar.gz
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 36c68a6862..640f787c73 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