[Python-Dev] Re: Let's Fix Class Annotations -- And Maybe Annotations Generally

2021年1月12日 20:16:41 -0800

On Tue, Jan 12, 2021 at 8:00 PM Brett Cannon <[email protected]> wrote:
>
>
>> - It turns a None annotation into type(None). Which means now you
>> can't tell the difference between "None" and "type(None)".
>>
>> Huh, I wasn't aware of that.
>
This has tripped up many people. Maybe we should just bite the bullet and
change this?
-- 
--Guido van Rossum (python.org/~guido)
*Pronouns: he/him **(why is my pronoun here?)*
<http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-change-the-world/>
_______________________________________________
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/XMX4OKYQR6QWTIGB7DJBKJFB7G4QZMRO/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to