gpgme/lang/python/pyme
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
..
constants python: Rename bindings. 2016-05-10 13:19:26 +02:00
__init__.py python: Rename bindings. 2016-05-10 13:19:26 +02:00
callbacks.py python: Delete trailing whitespace. 2016-05-10 13:30:30 +02:00
core.py python: Fix type translation. 2016-05-12 11:49:17 +02:00
errors.py python: Delete trailing whitespace. 2016-05-10 13:30:30 +02:00
util.py python: Delete trailing whitespace. 2016-05-10 13:30:30 +02:00
version.py python: Rename bindings. 2016-05-10 13:19:26 +02:00