Improve 3.7+ dotted imports

This commit is contained in:
rocky
2020-01-03 21:22:55 -05:00
parent 498df35a6c
commit 077f192711
3 changed files with 2 additions and 21 deletions

View File

@@ -823,6 +823,7 @@ class SourceWalker(GenericASTTraversal, object):
else:
self.write(iname, " as ", sname)
self.prune() # stop recursing
n_alias37 = n_alias
def n_import_from(self, node):
relative_path_index = 0