summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAdorilson Bezerra <adorilson@gmail.com>2019-09-17 04:57:14 (GMT)
committerStéphane Wirtel <stephane@wirtel.be>2019-09-17 04:57:14 (GMT)
commit63dedef48bba9d54f13b958237696505fa665796 (patch)
tree93f46454388e3259eceb7b480d335058601d8488 /Doc
parent0048afc16a7e7301d5c565237db271505e5fbed9 (diff)
downloadcpython-63dedef48bba9d54f13b958237696505fa665796.zip
cpython-63dedef48bba9d54f13b958237696505fa665796.tar.gz
cpython-63dedef48bba9d54f13b958237696505fa665796.tar.bz2
Doc: Add list(dict) in stdtypes library (GH-16209)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/stdtypes.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index a21c553..3895a97 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -4234,6 +4234,10 @@ pairs within braces, for example: ``{'jack': 4098, 'sjoerd': 4127}`` or ``{4098:
These are the operations that dictionaries support (and therefore, custom
mapping types should support too):
+ .. describe:: list(d)
+
+ Return a list of all the keys used in the dictionary *d*.
+
.. describe:: len(d)
Return the number of items in the dictionary *d*.