09 - Exploring special function parameters
Starting from Python 3.8 it was added special function parameters that are very handy for interface designers.
Parameter x Argument
When you declare a function, the function may or may not have parameters.
When you call a function, you may call it with or without arguments.
Special parameters
Positional-only arguments
Keyword-only arguments
The good thing about this is that you force the user of your library to write the keyword arguments. You don't need to remember the order of the parameters. Moreover, you can extend, change the signature (up to some constraints) without penalizing previous utilizations of the library.