mirror of
https://github.com/python/cpython.git
synced 2026-01-22 23:28:43 +00:00
wrap
This commit is contained in:
parent
d47667c32b
commit
2405547a2a
1 changed files with 2 additions and 2 deletions
|
|
@ -130,8 +130,8 @@ and off individually. They are described here in more detail.
|
|||
Fixes dictionary iteration methods. :meth:`dict.iteritems` is converted to
|
||||
:meth:`dict.items`, :meth:`dict.iterkeys` to :meth:`dict.keys`, and
|
||||
:meth:`dict.itervalues` to :meth:`dict.values`. Similarly,
|
||||
:meth:`dict.viewitems`, :meth:`dict.viewkeys` and :meth:`dict.viewvalues`
|
||||
are converted respectively to :meth:`dict.items`, :meth:`dict.keys` and
|
||||
:meth:`dict.viewitems`, :meth:`dict.viewkeys` and :meth:`dict.viewvalues` are
|
||||
converted respectively to :meth:`dict.items`, :meth:`dict.keys` and
|
||||
:meth:`dict.values`. It also wraps existing usages of :meth:`dict.items`,
|
||||
:meth:`dict.keys`, and :meth:`dict.values` in a call to :class:`list`.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue