From 9a1903cc42924851ce2452d7be2e5132f2f26332 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Wed, 28 Nov 2018 01:47:20 -0500 Subject: 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 --- lang/python/src/core.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.1