On 4/22/2021 9:15 AM, Paul Moore wrote:

Absolutely, I see no problem with "use duck typing for this argument"
being opt-in.

As in x: 'duck'? or x: '!', where '!' means
 'infer it!', or

from typing import Infer
... x: Infer
?

Ditto for -> <infer indicator> ?

--
Terry Jan Reedy

_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/NSALGTJQIITQO3ZHI7E5G2J77JQERAKZ/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to