PyFile#getImportBlock works better when there are comments in-between or file ends with import

This commit is contained in:
Mikhail Golubev
2016-06-15 19:34:13 +03:00
parent 5e045e5c12
commit 9df1dacb23
5 changed files with 46 additions and 25 deletions
@@ -0,0 +1,5 @@
import sys
# noinspection PyUnresolvedReferences
import typing
print(sys.path)