Skip to content

Commit 8b34de0

Browse files
committed
Document some attributes of the result of list_keys().
1 parent a97c501 commit 8b34de0

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/index.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,10 @@ For more information about the values in this dictionary, refer to the GnuPG
628628
documentation linked above. (Note that that documentation is not terribly
629629
user-friendly, but nevertheless it should be usable.)
630630

631+
The returned value from :meth:`~gnupg.GPG.list_keys` has an attribute ``uids``, which is a
632+
list of userids associated with the listed keys, and an attribute ``fingerprints``, which
633+
is a list of the key fingerprints associated with the listed keys.
634+
631635
.. versionadded:: 0.3.8
632636
The returned value from :meth:`~gnupg.GPG.list_keys` now has a new
633637
attribute, ``key_map``, which is a dictionary mapping key and subkey

0 commit comments

Comments
 (0)