[Python-checkins] r68719 - python/branches/py3k/Doc/library/base64.rst
georg.brandl
python-checkins at python.org
Sun Jan 18 11:43:58 CET 2009
Author: georg.brandl
Date: Sun Jan 18 11:43:58 2009
New Revision: 68719
Log:
#4975: fix bytes/str issue.
Modified:
python/branches/py3k/Doc/library/base64.rst
Modified: python/branches/py3k/Doc/library/base64.rst
==============================================================================
--- python/branches/py3k/Doc/library/base64.rst (original)
+++ python/branches/py3k/Doc/library/base64.rst Sun Jan 18 11:43:58 2009
@@ -154,7 +154,7 @@
>>> import base64
>>> encoded = base64.b64encode('data to be encoded')
>>> encoded
- 'ZGF0YSB0byBiZSBlbmNvZGVk'
+ b'ZGF0YSB0byBiZSBlbmNvZGVk'
>>> data = base64.b64decode(encoded)
>>> data
'data to be encoded'
More information about the Python-checkins
mailing list