Add a comment how the fix_imports fixer is an example of how to get imports
changed by 2to3.
This commit is contained in:
parent
9aa01f87f7
commit
2d5e9a9d42
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue