4 May
2020
4 May
'20
4:58 p.m.
On Sun, 3 May 2020 14:58:41 -0700 Andras Tantos <andras@tantosonline.com> wrote:
1. With the recent type-hint support, the feature could be made way more descriptive if this PEP got implemented.
For example, instead of doing the following:
def func(in: Dict[str, int])
one could write:
def func(in: Dict[key=str, value=int])
Of course, that's why I originally suggested that `Dict[...]` should be spelled `Dict(...)` instead. Regards Antoine.