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. pinentry.
Keyword arguments: Keyword arguments:
sink -- write result to sink instead of returning it sink -- write result to sink instead of returning it
passphrase -- for symmetric decryption passphrase -- for symmetric decryption
verify -- check signatures (boolean or iterable of keys, verify -- check signatures (boolean or iterable of keys,
see above) (default True) see above) (default True)
Returns: Returns:
plaintext -- the decrypted data (or None if sink is given) plaintext -- the decrypted data (or None if sink is given)
result -- additional information about the decryption result -- additional information about the decryption
verify_result -- additional information about the valid signature(s) found verify_result -- additional information about the valid
signature(s) found
Raises: Raises:
UnsupportedAlgorithm -- if an unsupported algorithm was used UnsupportedAlgorithm -- if an unsupported algorithm was used
MissingSignatures -- if expected signatures are missing or bad MissingSignatures -- if expected signatures are missing or bad
GPGMEError -- as signaled by the underlying library GPGMEError -- as signaled by the underlying library
""" """
do_sig_verification = False do_sig_verification = False