Skip to content

Support the `*` argument

Compare
Choose a tag to compare
@simon-ritchie simon-ritchie released this 05 Dec 06:16
· 9 commits to master since this release

Supported the * argument to restrict positional argument (to use keyword argument), for example, as follows:

def any_func(a: int, *, b: int = 20) -> None:
    ...