1
0
forked from VimPlug/jedi

Fix some test errors

This commit is contained in:
Dave Halter
2019-06-15 01:42:50 +02:00
parent 3ed30409ea
commit fdad24cc0a
2 changed files with 6 additions and 2 deletions

View File

@@ -277,6 +277,9 @@ class BaseDefinition(object):
return '.'.join(names)
def is_stub(self):
if not self._name.is_context_name:
return False
return self._name.get_root_context().is_stub()
def goto_assignments(self, **kwargs): # Python 2...