Python, doc: Minor style improvement

* lang/python/src/core.py (Context): Retab and shorten
max line length.
This commit is contained in:
Andre Heinecke 2019-05-06 08:36:26 +02:00
parent f303806a11
commit 63055f1340
No known key found for this signature in database
GPG Key ID: 2978E9D40CBABA5C

View File

@ -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