summaryrefslogtreecommitdiffstats
path: root/Doc/library/base64.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/base64.rst')
-rw-r--r--Doc/library/base64.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/base64.rst b/Doc/library/base64.rst
index ef9c02a..1e78953 100644
--- a/Doc/library/base64.rst
+++ b/Doc/library/base64.rst
@@ -23,7 +23,7 @@ well as strings, but only using the Base64 standard alphabet.
The modern interface provides:
-.. function:: b64encode(s[, altchars])
+.. function:: b64encode(s, altchars=None)
Encode a string use Base64.
@@ -36,7 +36,7 @@ The modern interface provides:
The encoded string is returned.
-.. function:: b64decode(s[, altchars])
+.. function:: b64decode(s, altchars=None)
Decode a Base64 encoded string.
@@ -78,7 +78,7 @@ The modern interface provides:
is returned.
-.. function:: b32decode(s[, casefold[, map01]])
+.. function:: b32decode(s, casefold=False, map01=None)
Decode a Base32 encoded string.
@@ -105,7 +105,7 @@ The modern interface provides:
*s* is the string to encode. The encoded string is returned.
-.. function:: b16decode(s[, casefold])
+.. function:: b16decode(s, casefold=False)
Decode a Base16 encoded string.