1
0
forked from VimPlug/jedi

Remove the ParamListener, it was not used anymore.

This commit is contained in:
Dave Halter
2017-09-26 18:24:42 +02:00
parent 00f2f9a90c
commit e4090910f6

View File

@@ -14,7 +14,7 @@ It works as follows:
- |Jedi| sees a param - |Jedi| sees a param
- search for function calls named ``foo`` - 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 from parso.python import tree
@@ -32,17 +32,6 @@ from jedi.parser_utils import get_parent_scope
MAX_PARAM_SEARCHES = 20 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): class MergedExecutedParams(object):
""" """
Simulates being a parameter while actually just being multiple params. Simulates being a parameter while actually just being multiple params.