Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e90f54e

Browse files
committed
Merged revisions 79138-79139 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r79138 | benjamin.peterson | 2010-03-20 11:16:44 -0500 (Sat, 20 Mar 2010) | 1 line document exitfunc fixer ........ r79139 | benjamin.peterson | 2010-03-20 11:17:37 -0500 (Sat, 20 Mar 2010) | 1 line wrap ........
1 parent 886af96 commit e90f54e

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

Doc/library/2to3.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ and off individually. They are described here in more detail.
130130
Fixes dictionary iteration methods. :meth:`dict.iteritems` is converted to
131131
:meth:`dict.items`, :meth:`dict.iterkeys` to :meth:`dict.keys`, and
132132
:meth:`dict.itervalues` to :meth:`dict.values`. Similarly,
133-
:meth:`dict.viewitems`, :meth:`dict.viewkeys` and :meth:`dict.viewvalues`
134-
are converted respectively to :meth:`dict.items`, :meth:`dict.keys` and
133+
:meth:`dict.viewitems`, :meth:`dict.viewkeys` and :meth:`dict.viewvalues` are
134+
converted respectively to :meth:`dict.items`, :meth:`dict.keys` and
135135
:meth:`dict.values`. It also wraps existing usages of :meth:`dict.items`,
136136
:meth:`dict.keys`, and :meth:`dict.values` in a call to :class:`list`.
137137
@@ -148,6 +148,11 @@ and off individually. They are described here in more detail.
148148
Removes usage of :func:`execfile`. The argument to :func:`execfile` is
149149
wrapped in calls to :func:`open`, :func:`compile`, and :func:`exec`.
150150
151+
.. 2to3fixer:: exitfunc
152+
153+
Changes assignment of :attr:`sys.exitfunc` to use of the :mod:`atexit`
154+
module.
155+
151156
.. 2to3fixer:: filter
152157
153158
Wraps :func:`filter` usage in a :class:`list` call.

0 commit comments

Comments
 (0)