def get_function_parameters(call_def):
    """
    Return list function parameters, prepared for sublime completion.
    Tuple contains parameter name and default value
    """

    if not call_def:
        return []

    params = []
    for param in call_def.params:
        cleaned_param = param.get_code().strip()
        if '*' in cleaned_param or cleaned_param == 'self':
            continue

        params.append([s.strip() for s in cleaned_param.split('=')])

    return params