1. Joe Amenta
  2. lib3to2
  3. Issues
Issue #6 resolved

3to2 adds future statements before docstrings in modules

Joe Amenta
repo owner created an issue

When 3to2 needs to add a future statement (from future import ...) to a module, it adds it to the very top line, without regard for docstrings or comments.

It should add the future statement after regular comments, docstrings, and whitespace.

Comments (2)

  1. Log in to comment