From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 18 Apr 2022 04:48:36 +0000 (-0700) Subject: Remove duplicate explanation (GH-91534) X-Git-Tag: v3.9.13~105 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=636832fb2a4364ca2014aadecf4c35833eff4495;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 cf1a638344c8..1cba75084b04 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -4311,10 +4311,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)