From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 17 Sep 2019 05:04:19 +0000 (-0700) Subject: Doc: Add list(dict) in stdtypes library (GH-16209) (GH-16211) X-Git-Tag: v3.7.5rc1~39 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=89f132a3286640b764a69b8945cbb3a499ad6bab;p=thirdparty%2FPython%2Fcpython.git Doc: Add list(dict) in stdtypes library (GH-16209) (GH-16211) (cherry picked from commit 63dedef48bba9d54f13b958237696505fa665796) Co-authored-by: Adorilson Bezerra --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 1903864a55e2..7a8faba00fd9 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -4141,6 +4141,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*.