Commit 134c35b1 authored by Georg Brandl's avatar Georg Brandl

#9730: fix example.

parent 23798772
...@@ -157,12 +157,12 @@ The legacy interface: ...@@ -157,12 +157,12 @@ The legacy interface:
An example usage of the module: An example usage of the module:
>>> import base64 >>> import base64
>>> encoded = base64.b64encode('data to be encoded') >>> encoded = base64.b64encode(b'data to be encoded')
>>> encoded >>> encoded
b'ZGF0YSB0byBiZSBlbmNvZGVk' b'ZGF0YSB0byBiZSBlbmNvZGVk'
>>> data = base64.b64decode(encoded) >>> data = base64.b64decode(encoded)
>>> data >>> data
'data to be encoded' b'data to be encoded'
.. seealso:: .. 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