[Python-checkins] (no subject)
Stéphane Wirtel
webhook-mailer at python.org
Tue Sep 17 01:04:23 EDT 2019
To: python-checkins at python.org
Subject: Doc: Add list(dict) in stdtypes library (GH-16209) (GH-16211)
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
https://github.com/python/cpython/commit/89f132a3286640b764a69b8945cbb3a499ad=
6bab
commit: 89f132a3286640b764a69b8945cbb3a499ad6bab
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.co=
m>
committer: St=C3=A9phane Wirtel <stephane at wirtel.be>
date: 2019-09-17T07:04:19+02:00
summary:
Doc: Add list(dict) in stdtypes library (GH-16209) (GH-16211)
(cherry picked from commit 63dedef48bba9d54f13b958237696505fa665796)
Co-authored-by: Adorilson Bezerra <adorilson at gmail.com>
files:
M Doc/library/stdtypes.rst
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, 'sj=
oerd': 4127}`` or ``{4098:
These are the operations that dictionaries support (and therefore, custom
mapping types should support too):
=20
+ .. describe:: list(d)
+
+ Return a list of all the keys used in the dictionary *d*.
+
.. describe:: len(d)
=20
Return the number of items in the dictionary *d*.
More information about the Python-checkins
mailing list