mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
Use fast parser in api.Interpreter
This commit is contained in:
@@ -540,9 +540,9 @@ class Interpreter(Script):
|
||||
If `line` and `column` are None, they are assumed be at the end of
|
||||
`source`.
|
||||
"""
|
||||
super(Interpreter, self).__init__(source, fast=False, **kwds)
|
||||
super(Interpreter, self).__init__(source, **kwds)
|
||||
|
||||
importer = interpret.ObjectImporter(self._parser.scope)
|
||||
importer = interpret.ObjectImporter(self._parser.user_scope)
|
||||
for ns in namespaces:
|
||||
importer.import_raw_namespace(ns)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user