[Python-checkins] r62614 - peps/trunk/pep-3108.txt
brett.cannon
python-checkins at python.org
Thu May 1 20:03:52 CEST 2008
Author: brett.cannon
Date: Thu May 1 20:03:52 2008
New Revision: 62614
Log:
Add a comment how the fix_imports fixer is an example of how to get imports
changed by 2to3.
Modified:
peps/trunk/pep-3108.txt
Modified: peps/trunk/pep-3108.txt
==============================================================================
--- peps/trunk/pep-3108.txt (original)
+++ peps/trunk/pep-3108.txt Thu May 1 20:03:52 2008
@@ -912,7 +912,8 @@
to bind in the module namespace to the old name while importing based
on the new name (when the keyword is not already used, otherwise the
re-assigned name should be left alone and only the module that is
-imported needs to be changed).
+imported needs to be changed). The ``fix_imports`` fixer is an
+example of how to approach this.
Open Issues
More information about the Python-checkins
mailing list