

def _signature_str(function_name, arg_spec):
    'Helper function to output a function signature'
    arg_spec_for_format = arg_spec[:(7 if PY3_OR_LATER else 4)]
    arg_spec_str = inspect.formatargspec(*function_name)
    return '{0}{1}'.format(function_name, arg_spec_str)

dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/externals/joblib/func_inspect.py _signature_str/VarMisuse@35/75 `arg_spec_for_format`->`function_name`