From ed8845c3431c95193a6eaecc2c8cb2cdcf03dc2a Mon Sep 17 00:00:00 2001 From: David Halter Date: Sat, 22 Dec 2012 01:37:31 +0100 Subject: [PATCH] delete caches also at the beginning of an interaction --- jedi/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/jedi/api.py b/jedi/api.py index 26ead866..12e4e948 100644 --- a/jedi/api.py +++ b/jedi/api.py @@ -68,6 +68,7 @@ class Script(object): """ def __init__(self, source, line, column, source_path, source_encoding='utf-8'): + api_classes._clear_caches() debug.reset_time() source = modules.source_to_unicode(source, source_encoding) self.pos = line, column