get_keyword_names

sherpa.utils.get_keyword_names(func, skip=0)[source] [edit on github]

Return the names of the keyword arguments.

Parameters:
  • func – The function to query.
  • skip (int, optional) – The number of keyword arguments to skip.
Returns:

names – The names of the keyword arguments. It can be empty.

Return type:

list of str