diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2018-11-28 01:47:20 -0500 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2018-12-05 02:40:24 +0300 |
commit | 9a1903cc42924851ce2452d7be2e5132f2f26332 (patch) | |
tree | 95940f5c10c9f48d61ad0937c80bd45b5488a37d | |
parent | 827a2f3ad562a5927ceb89a842779b4b8c57c367 (diff) | |
download | gpgme-9a1903cc42924851ce2452d7be2e5132f2f26332.tar.gz |
python: clarify documentation for verify argument for Context.decrypt()
It's easy to miss that verify can take a list of keys. Make it more
obvious to the average python dev who reads docstrings.
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
-rw-r--r-- | lang/python/src/core.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/python/src/core.py b/lang/python/src/core.py index f7e843f1..0b7b7e08 100644 --- a/lang/python/src/core.py +++ b/lang/python/src/core.py @@ -352,7 +352,8 @@ class Context(GpgmeWrapper): Keyword arguments: sink -- write result to sink instead of returning it passphrase -- for symmetric decryption - verify -- check signatures (default True) + verify -- check signatures (boolean or iterable of keys, + see above) (default True) Returns: plaintext -- the decrypted data (or None if sink is given) |