Presenting PEP 692: Using TypedDict for more precise **kwargs typing
![](https://secure.gravatar.com/avatar/2cf34b443909f641b7aeefeb464dbaf0.jpg?s=120&d=mm&r=g)
July 12, 2022
9:39 p.m.
Hello, PEP 692 is posted. It proposes to use TypedDicts to type **kwargs that consist of different types. This feature has gained a lot of interest from the community (https://github.com/python/mypy/issues/4441). The PEP also proposes a grammar change and a new dunder __unpack__. Here is the link to the PEP itself - https://peps.python.org/pep-0692/ And the discussion on discuss.python.org - https://discuss.python.org/t/pep-692-using-typeddict-for-more-precise-kwargs... Please share your comments, thoughts and feedback! Franek
946
Age (days ago)
946
Last active (days ago)
0 comments
1 participants
participants (1)
-
Franek Magiera