python-makefun icon indicating copy to clipboard operation
python-makefun copied to clipboard

`add_signature_parameters` : intelligently support parameters that can not be first or last

Open smarie opened this issue 6 years ago • 0 comments

We could introduce two new arguments first_possible and last_possible, that would intelligently position the provided parameters according to their kind/default value.

For example

  • if there is a **kwargs, parameters from the last_possible would place themselves before it.
  • If there are parameters without default value, parameters from the first_possible that have a default value would place themselves after them

smarie avatar Jul 22 '19 08:07 smarie