[Python-checkins] r79138 - python/trunk/Doc/library/2to3.rst

benjamin.peterson python-checkins at python.org
Sat Mar 20 17:16:45 CET 2010


Author: benjamin.peterson
Date: Sat Mar 20 17:16:44 2010
New Revision: 79138

Log:
document exitfunc 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	Sat Mar 20 17:16:44 2010
@@ -148,6 +148,11 @@
    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.


More information about the Python-checkins mailing list