summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Vassalotti <alexandre@peadrop.com>2010-01-12 18:25:33 (GMT)
committerAlexandre Vassalotti <alexandre@peadrop.com>2010-01-12 18:25:33 (GMT)
commitb227f47b2b66b971dff1706b8b82b8cbc5620089 (patch)
treeacb7e10aad109052ea122e234816231ca56c2e7d
parentb5689de04425775932331b153feee7d9598755ad (diff)
downloadcpython-b227f47b2b66b971dff1706b8b82b8cbc5620089.zip
cpython-b227f47b2b66b971dff1706b8b82b8cbc5620089.tar.gz
cpython-b227f47b2b66b971dff1706b8b82b8cbc5620089.tar.bz2
Added documentation for dictionary views fixer.
-rw-r--r--Doc/library/2to3.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/Doc/library/2to3.rst b/Doc/library/2to3.rst
index 20a6245..6f675b0 100644
--- a/Doc/library/2to3.rst
+++ b/Doc/library/2to3.rst
@@ -129,9 +129,11 @@ 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`. 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