Add a comment how the fix_imports fixer is an example of how to get imports

changed by 2to3.
This commit is contained in:
Brett Cannon 2008-05-01 18:03:52 +00:00
parent 9aa01f87f7
commit 2d5e9a9d42
1 changed files with 2 additions and 1 deletions

View File

@ -912,7 +912,8 @@ will be accomplished by using the ``as`` keyword in import statements
to bind in the module namespace to the old name while importing based 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 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 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 Open Issues