Kaydet (Commit) a515bab0 authored tarafından Alexandre Vassalotti's avatar Alexandre Vassalotti

Merged revisions 77445 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77445 | alexandre.vassalotti | 2010-01-12 13:25:33 -0500 (Tue, 12 Jan 2010) | 2 lines

  Added documentation for dictionary views fixer.
........
üst 08a829a9
...@@ -129,9 +129,11 @@ and off individually. They are described here in more detail. ...@@ -129,9 +129,11 @@ and off individually. They are described here in more detail.
Fixes dictionary iteration methods. :meth:`dict.iteritems` is converted to Fixes dictionary iteration methods. :meth:`dict.iteritems` is converted to
:meth:`dict.items`, :meth:`dict.iterkeys` to :meth:`dict.keys`, and :meth:`dict.items`, :meth:`dict.iterkeys` to :meth:`dict.keys`, and
:meth:`dict.itervalues` to :meth:`dict.values`. It also wraps existing :meth:`dict.itervalues` to :meth:`dict.values`. Similarly,
usages of :meth:`dict.items`, :meth:`dict.keys`, and :meth:`dict.values` in a :meth:`dict.viewitems`, :meth:`dict.viewkeys` and :meth:`dict.viewvalues`
call to :class:`list`. 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`.
.. 2to3fixer:: except .. 2to3fixer:: except
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment