@@ -61,15 +61,13 @@ POST request.
6161 This allows an application to e.g. generate URL or filesystem safe Base64
6262 strings. The default is ``None ``, for which the standard Base64 alphabet is used.
6363
64+ If *wrapcol * is non-zero, insert a newline (``b'\n' ``) character
65+ after at most every *wrapcol * characters.
66+ If *wrapcol * is zero (default), do not add any newlines.
67+
6468 May assert or raise a :exc: `ValueError ` if the length of *altchars * is not 2. Raises a
6569 :exc: `TypeError ` if *altchars * is not a :term: `bytes-like object `.
6670
67- If *wrapcol * is non-zero, the output will be represented in lines of
68- no more than *wrapcol * characters each, separated by a newline
69- (``b'\n' ``) character.
70- If *wrapcol * is zero (default), the output will be represented as
71- a single line.
72-
7371 .. versionchanged :: next
7472 Added the *wrapcol * parameter.
7573
@@ -223,11 +221,9 @@ Refer to the documentation of the individual functions for more information.
223221 instead of 4 consecutive spaces (ASCII 0x20) as supported by 'btoa'. This
224222 feature is not supported by the "standard" Ascii85 encoding.
225223
226- If *wrapcol * is non-zero, the output will be represented in lines of
227- no more than *wrapcol * characters each, separated by a newline
228- (``b'\n' ``) character.
229- If *wrapcol * is zero (default), the output will be represented as
230- a single line.
224+ If *wrapcol * is non-zero, insert a newline (``b'\n' ``) character
225+ after at most every *wrapcol * characters.
226+ If *wrapcol * is zero (default), do not add any newlines.
231227
232228 *pad * controls whether the input is padded to a multiple of 4
233229 before encoding. Note that the ``btoa `` implementation always pads.
0 commit comments