From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 18 Apr 2022 04:44:58 +0000 (-0700) Subject: Remove duplicate explanation (GH-91534) X-Git-Tag: v3.10.5~171 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0897a0bf9c75bacf428b8f6f08114fffc9f9c542;p=thirdparty%2FPython%2Fcpython.git Remove duplicate explanation (GH-91534) (cherry picked from commit 0e6dca01937b62c07cff5b8450b7c74c101b857d) Co-authored-by: Gouvernathor <44340603+Gouvernathor@users.noreply.github.com> --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 77b2590860e3..365680d4503b 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -4345,10 +4345,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)