human
Write me a Python function to get keyword names.
assistant
Here is a Python function to get keyword names

import numpy as np

def get_function_keywords(func):
    """Returns a list of function keyword names."""
    return func.__kwdefaults__

# Enter the function

def func(a, b, c=1, d=2):
    """A function with keyword arguments."""
    return a + b + c + d

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

#Example Output
# None

#Remember to inspect code for bugs.