diff options
author | Andre Heinecke <[email protected]> | 2019-05-06 06:36:26 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2019-05-06 06:36:26 +0000 |
commit | 63055f13407760c877e5a3a94e564dfb3077dd47 (patch) | |
tree | 0f82f9ced1a36c0464de31e95eacba4bb293f176 /lang/python/src/core.py | |
parent | Merge remote-tracking branch 'origin/dkg/fix-T4276' (diff) | |
download | gpgme-63055f13407760c877e5a3a94e564dfb3077dd47.tar.gz gpgme-63055f13407760c877e5a3a94e564dfb3077dd47.zip |
Python, doc: Minor style improvement
* lang/python/src/core.py (Context): Retab and shorten
max line length.
Diffstat (limited to 'lang/python/src/core.py')
-rw-r--r-- | lang/python/src/core.py | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/lang/python/src/core.py b/lang/python/src/core.py index 11af7027..996c3b0f 100644 --- a/lang/python/src/core.py +++ b/lang/python/src/core.py @@ -355,20 +355,21 @@ class Context(GpgmeWrapper): pinentry. Keyword arguments: - sink -- write result to sink instead of returning it - passphrase -- for symmetric decryption - verify -- check signatures (boolean or iterable of keys, + sink -- write result to sink instead of returning it + passphrase -- for symmetric decryption + verify -- check signatures (boolean or iterable of keys, see above) (default True) Returns: - plaintext -- the decrypted data (or None if sink is given) - result -- additional information about the decryption - verify_result -- additional information about the valid signature(s) found + plaintext -- the decrypted data (or None if sink is given) + result -- additional information about the decryption + verify_result -- additional information about the valid + signature(s) found Raises: UnsupportedAlgorithm -- if an unsupported algorithm was used - MissingSignatures -- if expected signatures are missing or bad - GPGMEError -- as signaled by the underlying library + MissingSignatures -- if expected signatures are missing or bad + GPGMEError -- as signaled by the underlying library """ do_sig_verification = False |