File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ The modern interface provides:
5858 This allows an application to e.g. generate URL or filesystem safe Base64
5959 strings. The default is ``None ``, for which the standard Base64 alphabet is used.
6060
61- Raises an :exc: `AssertionError ` if the length of *altchars * is not 2. Raises a
61+ May assert or raise a a :exc: `ValueError ` if the length of *altchars * is not 2. Raises a
6262 :exc: `TypeError ` if *altchars * is not a :term: `bytes-like object `.
6363
6464
@@ -82,7 +82,7 @@ The modern interface provides:
8282
8383 For more information about the strict base64 check, see :func: `binascii.a2b_base64 `
8484
85- Raises an :exc: `AssertionError ` if the length of *altchars * is not 2.
85+ May assert or raise a :exc: `ValueError ` if the length of *altchars * is not 2.
8686
8787.. function :: standard_b64encode(s)
8888
You can’t perform that action at this time.
0 commit comments