mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
#4975: fix bytes/str issue.
This commit is contained in:
parent
e17d586024
commit
38d54f7867
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue