[Python-checkins] Remove duplicate explanation (GH-91534)
methane
webhook-mailer at python.org
Mon Apr 18 00:26:45 EDT 2022
https://github.com/python/cpython/commit/0e6dca01937b62c07cff5b8450b7c74c101b857d
commit: 0e6dca01937b62c07cff5b8450b7c74c101b857d
branch: main
author: Gouvernathor <44340603+Gouvernathor at users.noreply.github.com>
committer: methane <songofacandy at gmail.com>
date: 2022-04-18T13:26:40+09:00
summary:
Remove duplicate explanation (GH-91534)
files:
M Doc/library/stdtypes.rst
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index f25e8303f94a2..764d83a6800d1 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -4383,10 +4383,6 @@ then they can be used interchangeably to index the same dictionary entry. (Note
however, that since computers store floating-point numbers as approximations it
is usually unwise to use them as dictionary keys.)
-Dictionaries can be created by placing a comma-separated list of ``key: value``
-pairs within braces, for example: ``{'jack': 4098, 'sjoerd': 4127}`` or ``{4098:
-'jack', 4127: 'sjoerd'}``, or by the :class:`dict` constructor.
-
.. class:: dict(**kwargs)
dict(mapping, **kwargs)
dict(iterable, **kwargs)
More information about the Python-checkins
mailing list