aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <[email protected]>2018-11-28 06:47:20 +0000
committerDaniel Kahn Gillmor <[email protected]>2018-12-04 23:40:24 +0000
commit9a1903cc42924851ce2452d7be2e5132f2f26332 (patch)
tree95940f5c10c9f48d61ad0937c80bd45b5488a37d
parentpython: simplify Context.decrypt() (diff)
downloadgpgme-9a1903cc42924851ce2452d7be2e5132f2f26332.tar.gz
gpgme-9a1903cc42924851ce2452d7be2e5132f2f26332.zip
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 <[email protected]>
-rw-r--r--lang/python/src/core.py3
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)