Python 2 compatibility.

This commit is contained in:
Dave Halter
2015-02-12 11:36:36 +01:00
parent a8d3a9ab42
commit 774b3d5ce8

View File

@@ -538,6 +538,7 @@ class Scope(BaseNode, DocstringMixin):
def imports(self):
return self._search_in_scope(Import)
@Python3Method
def _search_in_scope(self, typ):
def scan(children):
elements = []