forked from VimPlug/jedi
caches have their own module now.
This commit is contained in:
+2
-1
@@ -6,6 +6,7 @@ import imp
|
||||
import sys
|
||||
import time
|
||||
|
||||
import cache
|
||||
import builtin
|
||||
import modules
|
||||
import debug
|
||||
@@ -91,7 +92,7 @@ class ImportPath(parsing.Base):
|
||||
n = parsing.Name(i.namespace.names[1:], zero, zero, self.import_stmt)
|
||||
new = parsing.Import(zero, zero, n)
|
||||
new.parent = parent
|
||||
evaluate.faked_scopes.append(new)
|
||||
cache.faked_scopes.append(new)
|
||||
debug.dbg('Generated a nested import: %s' % new)
|
||||
return new
|
||||
|
||||
|
||||
Reference in New Issue
Block a user