forked from VimPlug/jedi
make source_path in script optional, fixes #32
This commit is contained in:
@@ -300,7 +300,7 @@ class Module(Scope):
|
||||
return self._name
|
||||
|
||||
def is_builtin(self):
|
||||
return not self.path.endswith('.py')
|
||||
return not (self.path is None or self.path.endswith('.py'))
|
||||
|
||||
|
||||
class Class(Scope):
|
||||
|
||||
Reference in New Issue
Block a user