Remove Import.alias_name_part, it was simply an alias for another lookup.

This commit is contained in:
Dave Halter committed 2014-09-26 16:32:36 +02:00
1 parent 03e01631cc
commit 27444ed64d
3 files changed
+3 -11

No files matched your search

-8
View File
@@ -861,14 +861,6 @@ class Import(Simple):
n.append(self.alias)
return n
@property
def alias_name_part(self):
"""
TODO refactor and dont use this method, because NamePart will not exist in
the future.
"""
return self.alias
def is_nested(self):
"""
This checks for the special case of nested imports, without aliases and