#4975: fix bytes/str issue.

This commit is contained in:
Georg Brandl 2009-01-18 10:43:58 +00:00
parent e17d586024
commit 38d54f7867
1 changed files with 1 additions and 1 deletions

View File

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