diff options
-rw-r--r-- | Doc/library/base64.rst | 2 | ||||
-rwxr-xr-x | Lib/base64.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/base64.rst b/Doc/library/base64.rst index 8d5d975..9171e41 100644 --- a/Doc/library/base64.rst +++ b/Doc/library/base64.rst @@ -193,7 +193,7 @@ The modern interface provides: *wrapcol* controls whether the output should have newline (``b'\n'``) characters added to it. If this is non-zero, each output line will be - at most this many characters long. + at most this many characters long, excluding the trailing newline. *pad* controls whether the input is padded to a multiple of 4 before encoding. Note that the ``btoa`` implementation always pads. diff --git a/Lib/base64.py b/Lib/base64.py index e233647..846767a 100755 --- a/Lib/base64.py +++ b/Lib/base64.py @@ -334,7 +334,7 @@ def a85encode(b, *, foldspaces=False, wrapcol=0, pad=False, adobe=False): wrapcol controls whether the output should have newline (b'\\n') characters added to it. If this is non-zero, each output line will be at most this - many characters long. + many characters long, excluding the trailing newline. pad controls whether the input is padded to a multiple of 4 before encoding. Note that the btoa implementation always pads. |