From 63dedef48bba9d54f13b958237696505fa665796 Mon Sep 17 00:00:00 2001 From: Adorilson Bezerra Date: Tue, 17 Sep 2019 01:57:14 -0300 Subject: Doc: Add list(dict) in stdtypes library (GH-16209) --- Doc/library/stdtypes.rst | 4 ++++ 1 file changed, 4 insertions(+) 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*. -- cgit v0.12