From 63055f13407760c877e5a3a94e564dfb3077dd47 Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Mon, 6 May 2019 08:36:26 +0200 Subject: [PATCH] Python, doc: Minor style improvement * lang/python/src/core.py (Context): Retab and shorten max line length. --- lang/python/src/core.py | 17 +++++++++-------- 1 file 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