From 5ccf2ae21cd2b12c034071e01c8ad78b57a1d6c9 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Fri, 13 Feb 2009 10:56:50 +0000 Subject: [PATCH] #1661108: note that urlsafe encoded string can contain "=". --- Doc/library/base64.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/base64.rst b/Doc/library/base64.rst index 68a941faf74..084660d66e0 100644 --- a/Doc/library/base64.rst +++ b/Doc/library/base64.rst @@ -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)