mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Merge 3.4
This commit is contained in:
commit
815f1a9128
1 changed files with 4 additions and 0 deletions
|
@ -4155,6 +4155,10 @@ pairs within braces, for example: ``{'jack': 4098, 'sjoerd': 4127}`` or ``{4098:
|
|||
Return a new view of the dictionary's values. See the
|
||||
:ref:`documentation of view objects <dict-views>`.
|
||||
|
||||
Dictionaries compare equal if and only if they have the same ``(key,
|
||||
value)`` pairs. Order comparisons ('<', '<=', '>=', '>') raise
|
||||
:exc:`TypeError`.
|
||||
|
||||
.. seealso::
|
||||
:class:`types.MappingProxyType` can be used to create a read-only view
|
||||
of a :class:`dict`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue