24 Sep
2020
24 Sep
'20
9:53 p.m.
There is more detail on the decision to go with ParamSpec over the ParametersOf syntax on this point of the mailing list (https://mail.python.org/archives/list/typing-sig@python.org/message/DGU4SFZ6...) [It would also be worthwhile to take a look at that discussion in the context of the larger discussion on this thread (https://mail.python.org/archives/list/typing-sig@python.org/thread/UDHSH4EVV...)]. TL:DR, both syntaxes can express the same types, but using destructuring into variables fit the existing shape of the type syntax better than an operator driven syntax like they use consistently in TypeScript.