From a870fece0f9382661772eef04a53a986a0bc4e70 Mon Sep 17 00:00:00 2001 From: Takafumi Arakaki Date: Sat, 11 May 2013 21:47:55 +0200 Subject: [PATCH] Use fast parser in api.Interpreter --- jedi/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jedi/api.py b/jedi/api.py index dd4dd5e9..c4927540 100644 --- a/jedi/api.py +++ b/jedi/api.py @@ -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)