mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
#1661108: note that urlsafe encoded string can contain "=".
This commit is contained in:
parent
9834dd72bc
commit
5ccf2ae21c
1 changed files with 2 additions and 1 deletions
|
@ -63,7 +63,8 @@ The modern interface, which was introduced in Python 2.4, provides:
|
|||
.. function:: urlsafe_b64encode(s)
|
||||
|
||||
Encode string *s* using a URL-safe alphabet, which substitutes ``-`` instead of
|
||||
``+`` and ``_`` instead of ``/`` in the standard Base64 alphabet.
|
||||
``+`` and ``_`` instead of ``/`` in the standard Base64 alphabet. The result
|
||||
can still contain ``=``.
|
||||
|
||||
|
||||
.. function:: urlsafe_b64decode(s)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue