Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 38d54f7

Browse files
committed
#4975: fix bytes/str issue.
1 parent e17d586 commit 38d54f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/base64.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ An example usage of the module:
154154
>>> import base64
155155
>>> encoded = base64.b64encode('data to be encoded')
156156
>>> encoded
157-
'ZGF0YSB0byBiZSBlbmNvZGVk'
157+
b'ZGF0YSB0byBiZSBlbmNvZGVk'
158158
>>> data = base64.b64decode(encoded)
159159
>>> data
160160
'data to be encoded'

0 commit comments

Comments
 (0)