Commits

Benjamin Peterson committed f6e39ff

revert unintended changes

  • Participants
  • Parent commits 627fb41

Comments (0)

Files changed (1)

File lib2to3/fixer_util.py

     if does_tree_import(package, name, root):
         return
 
+    # figure out where to insert the new import.  First try to find
+    # the first import and then skip to the last one.
     insert_pos = offset = 0
     for idx, node in enumerate(root.children):
         if not is_import_stmt(node):