From: Benjamin Peterson Date: Sat, 20 Mar 2010 16:16:44 +0000 (+0000) Subject: document exitfunc fixer X-Git-Tag: v2.7b1~305 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d47667c32b85e3b1bc91113033fcab8ea06cc911;p=python document exitfunc fixer --- diff --git a/Doc/library/2to3.rst b/Doc/library/2to3.rst index 6f675b0576..0fcd49319a 100644 --- a/Doc/library/2to3.rst +++ b/Doc/library/2to3.rst @@ -148,6 +148,11 @@ and off individually. They are described here in more detail. Removes usage of :func:`execfile`. The argument to :func:`execfile` is wrapped in calls to :func:`open`, :func:`compile`, and :func:`exec`. +.. 2to3fixer:: exitfunc + + Changes assignment of :attr:`sys.exitfunc` to use of the :mod:`atexit` + module. + .. 2to3fixer:: filter Wraps :func:`filter` usage in a :class:`list` call.