get_keyword_defaults¶
-
sherpa.utils.
get_keyword_defaults
(func, skip=0)[source]¶ Return the keyword arguments and their default values.
Parameters: - func – The function to query.
- skip (int, optional) – The number of keyword arguments to skip.
Returns: vals – The keys are names of the keyword arguments, the values are the default value for that parameter. It can be empty.
Return type: dict
See also