mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Remove duplicate explanation (GH-91534)
(cherry picked from commit 0e6dca0193
)
Co-authored-by: Gouvernathor <44340603+Gouvernathor@users.noreply.github.com>
This commit is contained in:
parent
531f66ad62
commit
0897a0bf9c
1 changed files with 0 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue