human
method args matching stars.
assistant
Here is a Python function to method args matching stars

import argparse

def _args_matching_stars(args, *, method_name):
    """
    Args matching stars
    """
    if method_name == "__init__":
        return args
    else:
        return [arg for arg in args if arg.startswith("*")]

# Enter the method name
method_name = "my_function"

# Enter the args
args = ["a", "b", "c", "*", "d", "e", "f"]

# Calling the function
print((_args_matching_stars(args, method_name=method_name)))

#Example Output
# ['*']

#Remember to inspect code for bugs.