On Tue, 14 Jun 2022 at 01:59, h3ck phy wrote:
>
> It would be nice if we could write something like this
> data: dict[str, *] = {}
> instead of
> data: dict[str, Any] = {}
>
> In import statement asterisk means "all names" in a module.
> But in type closure it should mean "all types".
Type hints
It would be nice if we could write something like this
data: dict[str, *] = {}
instead of
data: dict[str, Any] = {}
In import statement asterisk means "all names" in a module.
But in type closure it should mean "all types".
--
https://mail.python.org/mailman/listinfo/python-list