gpgme/lang/python/examples
Justus Winter d60deb8a12 python: Fix type translation.
* lang/python/gpgme.i: Adjust to Python3's string type being
'Unicode', not 'bytes'.  Fix type checking.
* lang/python/core.py (Data.write): Add docstring mentioning the
expected type of parameter 'buffer'.
(Data.read): Adjust read loop.  Also, use a saner chunk size, and join
all chunks at the end instead of adding them.
* lang/python/examples/simple.py: Adjust example.

Signed-off-by: Justus Winter <justus@gnupg.org>
2016-05-12 11:49:17 +02:00
..
delkey.py python: PEP8 fixes. 2016-05-10 14:45:44 +02:00
encrypt-to-all.py python: PEP8 fixes. 2016-05-10 14:45:44 +02:00
Examples.rst python: Rename bindings. 2016-05-10 13:19:26 +02:00
exportimport.py python: PEP8 fixes. 2016-05-10 14:45:44 +02:00
genkey.py python: Rename bindings. 2016-05-10 13:19:26 +02:00
inter-edit.py python: PEP8 fixes. 2016-05-10 14:45:44 +02:00
sign.py python: Rename bindings. 2016-05-10 13:19:26 +02:00
signverify.py python: Delete trailing whitespace. 2016-05-10 13:30:30 +02:00
simple.py python: Fix type translation. 2016-05-12 11:49:17 +02:00
t-edit.py python: Delete trailing whitespace. 2016-05-10 13:30:30 +02:00
testCMSgetkey.py python: Delete trailing whitespace. 2016-05-10 13:30:30 +02:00
verifydetails.py python: Delete trailing whitespace. 2016-05-10 13:30:30 +02:00