I wish this had gotten more attention! :)
___
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://m
On Fri, Nov 19, 2021 at 11:23:02PM -, Angelo Kontaxis wrote:
> I feel like we could possible use the slots being a dict here, this is
> already a supported feature and is able to document attributes
> indivually, and dataclasses does have a slots argument now in 3.10
That doesn't help class
This might be a weird idea but I think it looks nice, is backward
compatible, and flexible.
It could be a convention to have the type hint syntax location (ie, the
syntax location after the colon that usually contains type hints only
today) do double duty. It could be used for documentation as lon