Type hints from keyword arguments to named parameters.

Authored by flherne on Dec 10 2016, 2:01 PM.

Description

Type hints from keyword arguments to named parameters.

Before, all types of keyword arguments were rolled into the **kwargs
parameter, if present, or ignored.

When a keyword argument's name matches that of a normal parameter, its
type should be used as a hint for that and not for **kwargs.

See tests for examples.

No changes in existing tests. Four new tests that previously failed and
now pass.

Details

Committed
flherneDec 28 2016, 10:35 PM
Parents
R53:a16e2de3f089: Lambda expression improvements.
Branches
Unknown
Tags
Unknown