Commit dfc4f30
committed
Fix PR #357
Turns out that comments are associated with a specific AST node in
python, and are not AST nodes on their own. Therefore, "continue" after
detecting the shebang comment in fact causes the future import to be
placed after the first AST node, which might be anything.1 parent 685f221 commit dfc4f30
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
247 | 246 | | |
248 | 247 | | |
249 | 248 | | |
| |||
0 commit comments