mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-21 21:11:13 +08:00
Python 2 compatibility.
This commit is contained in:
@@ -538,6 +538,7 @@ class Scope(BaseNode, DocstringMixin):
|
|||||||
def imports(self):
|
def imports(self):
|
||||||
return self._search_in_scope(Import)
|
return self._search_in_scope(Import)
|
||||||
|
|
||||||
|
@Python3Method
|
||||||
def _search_in_scope(self, typ):
|
def _search_in_scope(self, typ):
|
||||||
def scan(children):
|
def scan(children):
|
||||||
elements = []
|
elements = []
|
||||||
|
|||||||
Reference in New Issue
Block a user