summaryrefslogtreecommitdiffstats
path: root/Doc/library/base64.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-05-28 14:55:43 (GMT)
committerGitHub <noreply@github.com>2024-05-28 14:55:43 (GMT)
commit3af9b75df5c1fda0ae9f1869da104e90805e8467 (patch)
treed48cf505196a8417c93f2c7c453b9d27b1ff7fe2 /Doc/library/base64.rst
parent5cca0419cf3778a6b3a4f7f67147437ba8c84dfe (diff)
downloadcpython-3af9b75df5c1fda0ae9f1869da104e90805e8467.zip
cpython-3af9b75df5c1fda0ae9f1869da104e90805e8467.tar.gz
cpython-3af9b75df5c1fda0ae9f1869da104e90805e8467.tar.bz2
[3.12] Clarify base64.a85encode docs: *wrapcols* doesn't count the newline (GH-119409) (GH-119482)
Clarify base64.a85encode docs: *wrapcols* doesn't count the newline (GH-119409) (cherry picked from commit ffa24aab107b5bc3c6ad31a6a245c226bf24b208) Co-authored-by: Petr Viktorin <encukou@gmail.com>
Diffstat (limited to 'Doc/library/base64.rst')
-rw-r--r--Doc/library/base64.rst2
1 files changed, 1 insertions, 1 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.