From: Benjamin Peterson Date: Sat, 20 Mar 2010 16:17:37 +0000 (+0000) Subject: wrap X-Git-Tag: v2.7b1~304 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2405547a2a292eee45f5ad98bded1bdfee02cc36;p=python wrap --- diff --git a/Doc/library/2to3.rst b/Doc/library/2to3.rst index 0fcd49319a..a0a46103a9 100644 --- a/Doc/library/2to3.rst +++ b/Doc/library/2to3.rst @@ -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`.