Doc: Add list(dict) in stdtypes library (GH-16209)

This commit is contained in:
Adorilson Bezerra 2019-09-17 01:57:14 -03:00 • committed by Stéphane Wirtel
parent 0048afc16a
commit 63dedef48b

View file

@ -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*.