Kaydet (Commit) 5ccf2ae2 authored tarafından Georg Brandl's avatar Georg Brandl

#1661108: note that urlsafe encoded string can contain "=".

üst 9834dd72
...@@ -63,7 +63,8 @@ The modern interface, which was introduced in Python 2.4, provides: ...@@ -63,7 +63,8 @@ The modern interface, which was introduced in Python 2.4, provides:
.. function:: urlsafe_b64encode(s) .. function:: urlsafe_b64encode(s)
Encode string *s* using a URL-safe alphabet, which substitutes ``-`` instead of 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) .. function:: urlsafe_b64decode(s)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment