API Reference¶
A Sphinx directive to specify that a module has extra requirements, and show how to install them.
Functions:
|
Returns a dictionary mapping argument names to parameters/arguments for a function. |
|
Obtains the default values for the arguments of a class. |
Obtains the default values for the arguments of a function. |
|
Prepare the formatting of the default value. |
|
|
Add default values to the docstring. |
|
Setup Sphinx Extension. |
Data:
Regular expression to match default values declared in docstrings. |
|
Regular expression to match flags in docstrings to suppress default values. |
-
default_regex
= re.compile('^:(default|Default) ')¶ Type:
Pattern
Regular expression to match default values declared in docstrings.
-
get_arguments
(obj)[source]¶ Returns a dictionary mapping argument names to parameters/arguments for a function.
-
no_default_regex
= re.compile('^:(No|no)[-_](default|Default) ')¶ Type:
Pattern
Regular expression to match flags in docstrings to suppress default values.