mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-16 02:27:06 +08:00
Python 2 compatibility.
This commit is contained in:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user