From: Adorilson Bezerra Date: Tue, 17 Sep 2019 04:57:14 +0000 (-0300) Subject: Doc: Add list(dict) in stdtypes library (GH-16209) X-Git-Tag: v3.9.0a1~410 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=63dedef48bba9d54f13b958237696505fa665796;p=thirdparty%2FPython%2Fcpython.git Doc: Add list(dict) in stdtypes library (GH-16209) --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index a21c5538cbcc..3895a972a72a 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*.