pylint/checkers/typecheck.py
def _is_name_used_as_variadic(name, variadics):
    """Check if the given name is used as a variadic argument."""
    return any(
        variadic.value == name or variadic.value.parent_of(name)
        for variadic in variadics
    )
def _is_name_used_as_variadic(name, variadics):
    return any(
        variadic.value == name or variadic.value.parent_of(name)
        for variadic in variadics
    )
def _is_name_used_as_variadic ( name , variadics ) : return any ( variadic . value == name or variadic . value . parent_of ( name ) for variadic in variadics )
Check if the given name is used as a variadic argument.
Check if the given name is used as a variadic argument .