mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
default_arguments_decorator until now only allows positional argument defaults. This adds keyword defaults. The keywords can be mapped to the positional arguments by optional argument kargs_pos so interactions between keyword and positional arg defaults can raise a TypeError. Some more information in the docstring is included. In addition the docstring of the wrapped function will be modified to contain information about the defaults.