1
0
forked from VimPlug/jedi

make source_path in script optional, fixes #32

This commit is contained in:
David Halter
2012-10-20 13:45:15 +02:00
parent 95481be64c
commit bb76792ea8
6 changed files with 16 additions and 9 deletions

View File

@@ -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):