On Sun, 3 May 2020 14:58:41 -0700
Andras Tantos <and...@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.

_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/WB66IID6GTMG4CBD4US7A56HYDJOBZNN/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to