From e4090910f68ff0f99b1be5e7e629cc348e388e83 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Tue, 26 Sep 2017 18:24:42 +0200 Subject: [PATCH] Remove the ParamListener, it was not used anymore. --- jedi/evaluate/dynamic.py | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/jedi/evaluate/dynamic.py b/jedi/evaluate/dynamic.py index 946d81e2..9857f312 100644 --- a/jedi/evaluate/dynamic.py +++ b/jedi/evaluate/dynamic.py @@ -14,7 +14,7 @@ It works as follows: - |Jedi| sees a param - search for function calls named ``foo`` -- execute these calls and check the input. This work with a ``ParamListener``. +- execute these calls and check the input. """ from parso.python import tree @@ -32,17 +32,6 @@ from jedi.parser_utils import get_parent_scope MAX_PARAM_SEARCHES = 20 -class ParamListener(object): - """ - This listener is used to get the params for a function. - """ - def __init__(self): - self.param_possibilities = [] - - def execute(self, params): - self.param_possibilities += params - - class MergedExecutedParams(object): """ Simulates being a parameter while actually just being multiple params.