Skip to content

Commit

Permalink
Doc: Add list(dict) in stdtypes library (pythonGH-16209)
Browse files Browse the repository at this point in the history
  • Loading branch information
adorilson authored and matrixise committed Sep 17, 2019
1 parent 0048afc commit 63dedef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Doc/library/stdtypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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*.
Expand Down

0 comments on commit 63dedef

Please sign in to comment.