#4975: fix bytes/str issue.
This commit is contained in:
parent
e17d586024
commit
38d54f7867
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue