]> granicus.if.org Git - python/commitdiff
#4975: fix bytes/str issue.
authorGeorg Brandl <georg@python.org>
Sun, 18 Jan 2009 10:43:58 +0000 (10:43 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 18 Jan 2009 10:43:58 +0000 (10:43 +0000)
Doc/library/base64.rst

index 35b61aeab4ea2d34d553762a8601c1e4f0f89d55..48d24db9ed95548904a25e2d4460acef37fc737d 100644 (file)
@@ -154,7 +154,7 @@ An example usage of the module:
    >>> import base64
    >>> encoded = base64.b64encode('data to be encoded')
    >>> encoded
-   'ZGF0YSB0byBiZSBlbmNvZGVk'
+   b'ZGF0YSB0byBiZSBlbmNvZGVk'
    >>> data = base64.b64decode(encoded)
    >>> data
    'data to be encoded'