Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 63dedef

Browse files
adorilsonmatrixise
authored andcommitted
Doc: Add list(dict) in stdtypes library (GH-16209)
1 parent 0048afc commit 63dedef

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Doc/library/stdtypes.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4234,6 +4234,10 @@ pairs within braces, for example: ``{'jack': 4098, 'sjoerd': 4127}`` or ``{4098:
42344234
These are the operations that dictionaries support (and therefore, custom
42354235
mapping types should support too):
42364236

4237+
.. describe:: list(d)
4238+
4239+
Return a list of all the keys used in the dictionary *d*.
4240+
42374241
.. describe:: len(d)
42384242

42394243
Return the number of items in the dictionary *d*.

0 commit comments

Comments
 (0)