summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-01-18 10:43:58 (GMT)
committerGeorg Brandl <georg@python.org>2009-01-18 10:43:58 (GMT)
commit38d54f7867843c7661eee244e19cf8c27ea7c3f1 (patch)
tree501e1e4049ab66df84571f1d3873155b51b0b776 /Doc
parente17d586024df50fc90dc40a44a2cb3bff2d6304f (diff)
downloadcpython-38d54f7867843c7661eee244e19cf8c27ea7c3f1.zip
cpython-38d54f7867843c7661eee244e19cf8c27ea7c3f1.tar.gz
cpython-38d54f7867843c7661eee244e19cf8c27ea7c3f1.tar.bz2
#4975: fix bytes/str issue.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/base64.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/base64.rst b/Doc/library/base64.rst
index 35b61ae..48d24db 100644
--- a/Doc/library/base64.rst
+++ b/Doc/library/base64.rst
@@ -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'