I like this idea.

> The ~foo for Optional is... not that obvious.  Not sure it's a win.
>
>
 I agree. Seems like `foo | None` is just as readable. Assuming that None
would be swapped out for NoneType, of course.
_______________________________________________
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/PP47CMS367B4TFSPVI3DI4MKKDV7F4CQ/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to