diff options
author | Georg Brandl <georg@python.org> | 2009-04-02 02:56:10 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-04-02 02:56:10 (GMT) |
commit | b868a66ccb9cde89d934a896fe3c5629ed007d42 (patch) | |
tree | 93830f2ea5ec9dfe170e2d3139429933917ce7ed /Doc/library/base64.rst | |
parent | acc9dcc6888d310ec084925d84441779cce0d03d (diff) | |
download | cpython-b868a66ccb9cde89d934a896fe3c5629ed007d42.zip cpython-b868a66ccb9cde89d934a896fe3c5629ed007d42.tar.gz cpython-b868a66ccb9cde89d934a896fe3c5629ed007d42.tar.bz2 |
First batch of signature documentation changes; using default argument syntax where applicable.
Diffstat (limited to 'Doc/library/base64.rst')
-rw-r--r-- | Doc/library/base64.rst | 8 |
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. |