forked from VimPlug/jedi
@@ -26,9 +26,9 @@ class BaseOutput(object):
|
||||
self.path = []
|
||||
par = definition
|
||||
while par is not None:
|
||||
if not isinstance(self.stripped_definition,
|
||||
(parsing.Flow, parsing.Statement, parsing.Import,
|
||||
evaluate.Array, parsing.Name)):
|
||||
if not par.isinstance(
|
||||
parsing.Flow, parsing.Statement, parsing.Import,
|
||||
evaluate.Array, parsing.Name):
|
||||
self.path.insert(0, par.name)
|
||||
par = par.parent()
|
||||
|
||||
|
||||
@@ -63,3 +63,12 @@ def example(a):
|
||||
|
||||
#? str()
|
||||
example('')
|
||||
|
||||
# -----------------
|
||||
# various regression tests
|
||||
# -----------------
|
||||
|
||||
#62
|
||||
import threading
|
||||
#? ['_Verbose', '_VERBOSE']
|
||||
threading._Verbose
|
||||
|
||||
Reference in New Issue
Block a user