diff options
| author | Adorilson Bezerra <adorilson@gmail.com> | 2019-09-17 01:57:14 -0300 |
|---|---|---|
| committer | Stéphane Wirtel <stephane@wirtel.be> | 2019-09-17 06:57:14 +0200 |
| commit | 63dedef48bba9d54f13b958237696505fa665796 (patch) | |
| tree | 93f46454388e3259eceb7b480d335058601d8488 | |
| parent | 0048afc16a7e7301d5c565237db271505e5fbed9 (diff) | |
| download | cpython-git-63dedef48bba9d54f13b958237696505fa665796.tar.gz | |
Doc: Add list(dict) in stdtypes library (GH-16209)
| -rw-r--r-- | Doc/library/stdtypes.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index a21c5538cb..3895a972a7 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*. |
