traveler.core.parse_kwds#

Functions#

count_number_of_arguments(func)

Count the number of positional and keyword arguments in a function.

parse_and_call(func, *args, **kwargs)

Normalize arguments for a callable and invoke it.

parse_for(func, *args, **kwargs)

Convert keyword arguments to positional arguments when possible.

prohibit_keyword_only_arguments(func)

Decorator to prohibit keyword-only arguments in a function.

who_is(func)

Get the file and line number where a function is defined.