1
0
forked from VimPlug/jedi

Some progress in trying to make the deque work

This commit is contained in:
Dave Halter
2019-06-14 09:36:10 +02:00
parent 4564275eba
commit 3ed30409ea
5 changed files with 54 additions and 6 deletions

View File

@@ -277,9 +277,7 @@ class BaseDefinition(object):
return '.'.join(names)
def is_stub(self):
if not self._name.is_context_name:
return False
return all(c.is_stub() for c in self._name.infer())
return self._name.get_root_context().is_stub()
def goto_assignments(self, **kwargs): # Python 2...
with debug.increase_indent_cm('goto for %s' % self._name):