On Thu, Aug 27, 2020 at 9:24 PM Joseph Martinot-Lagarde <
contreba...@gmail.com> wrote:

> That's only one of the possible uses, and I'm not even sure that it would
> be implemented directly. Adding keywords to indexation for custom classes
> is not the same as modifying the standard dict type for typing.
>

It doesn't have to be the standard dict type, it can be typing.Dict
instead. But I understand the desire to take it one step at a time. I very
much hope that this type hint syntax comes along before too much longer,
though.

---
Ricky.

"I've never met a Kentucky man who wasn't either thinking about going home
or actually going home." - Happy Chandler
_______________________________________________
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/Y64IJ7SV23X5SFUQNLBMHHHHWAPTDLRC/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to