summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Heinecke <aheinecke@gnupg.org>2019-05-06 08:36:26 +0200
committerAndre Heinecke <aheinecke@gnupg.org>2019-05-06 08:36:26 +0200
commit63055f13407760c877e5a3a94e564dfb3077dd47 (patch)
tree0f82f9ced1a36c0464de31e95eacba4bb293f176
parentf303806a110a9813023a5fd9468a55ab0f7fb39d (diff)
downloadgpgme-63055f13407760c877e5a3a94e564dfb3077dd47.tar.gz
Python, doc: Minor style improvement
* lang/python/src/core.py (Context): Retab and shorten max line length.
-rw-r--r--lang/python/src/core.py17
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