Kaydet (Commit) 134c35b1 authored tarafından Georg Brandl's avatar Georg Brandl

#9730: fix example.

üst 23798772
......@@ -157,12 +157,12 @@ The legacy interface:
An example usage of the module:
>>> import base64
>>> encoded = base64.b64encode('data to be encoded')
>>> encoded = base64.b64encode(b'data to be encoded')
>>> encoded
b'ZGF0YSB0byBiZSBlbmNvZGVk'
>>> data = base64.b64decode(encoded)
>>> data
'data to be encoded'
b'data to be encoded'
.. seealso::
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment