human
What is a good Python program to get keyword names.
assistant
Here is a Python program to get keyword names

import inspect

def get_func_keyword_names(func):
    """
    >>> func = lambda x: x + 1
    >>> get_func_keyword_names(func)
    ['x']
    """
    return [keyword for keyword in list(inspect.signature(func).parameters.keys()) if keyword!='self']

# Enter the function
func = lambda x: x + 1

# Calling the function
print((get_func_keyword_names(func)))

#Example Output
# ['x']

#Remember to inspect code for bugs.