[Python-checkins] r77445 - python/trunk/Doc/library/2to3.rst
alexandre.vassalotti
python-checkins at python.org
Tue Jan 12 19:25:33 CET 2010
Author: alexandre.vassalotti
Date: Tue Jan 12 19:25:33 2010
New Revision: 77445
Log:
Added documentation for dictionary views fixer.
Modified:
python/trunk/Doc/library/2to3.rst
Modified: python/trunk/Doc/library/2to3.rst
==============================================================================
--- python/trunk/Doc/library/2to3.rst (original)
+++ python/trunk/Doc/library/2to3.rst Tue Jan 12 19:25:33 2010
@@ -129,9 +129,11 @@
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`. It also wraps existing
- usages of :meth:`dict.items`, :meth:`dict.keys`, and :meth:`dict.values` in a
- call to :class:`list`.
+ :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.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
More information about the Python-checkins
mailing list