aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/src/core.py
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <[email protected]>2018-11-28 06:47:20 +0000
committerAndre Heinecke <[email protected]>2018-12-05 10:46:09 +0000
commit49af6d76e55f348c7b3cece756d6ac643d17ee68 (patch)
treed6972865875944fa649796eee9cd53309f424935 /lang/python/src/core.py
parentpython: simplify Context.decrypt() (diff)
downloadgpgme-49af6d76e55f348c7b3cece756d6ac643d17ee68.tar.gz
gpgme-49af6d76e55f348c7b3cece756d6ac643d17ee68.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]>
Diffstat (limited to 'lang/python/src/core.py')
-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)