Skip to content

Commit

Permalink
Python 2 compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhalter committed Feb 12, 2015
1 parent a8d3a9a commit 774b3d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jedi/parser/tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ def flows(self):
def imports(self):
return self._search_in_scope(Import)

@Python3Method
def _search_in_scope(self, typ):
def scan(children):
elements = []
Expand Down

0 comments on commit 774b3d5

Please sign in to comment.