On Fri, 5 Mar 2021, 9:10 pm Steven D'Aprano, <st...@pearwood.info> wrote:

> I was curious how and why return annotations use the arrow `->` symbol,
> so I went spelunking into the depths of the Python-Ideas and Python-Dev
> mailing lists.
>
> Much to my surprise, I couldn't find any discussion or debate about it.
>

If you haven't already, also try to track down any PEP 3107 discussions on
the python-3000 mailing list.

I don't actually recall any major debate over the syntax of function
annotations though - the only controversy I can recall was over whether or
not it was a good idea to add the syntax before we had a solid plan for the
standard associated semantics.

Cheers,
Nick.




>
>
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/5TGDHTV57GYJQDUOBW4WNZBMGXOQNCCQ/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to