[Python-Dev] Re: PEP 622 idea: "match case object" to represent match patterns

2020年7月18日 02:20:02 -0700

On Sat, Jul 18, 2020 at 10:58:17AM +0200, Federico Salerno wrote:
> We don't, after all, 
> confuse function calls for references to a function, or vice-versa.
Beginners do. Frequently. Sometimes it is quite a hurdle for them to 
learn to write `function()` instead of `function`.
And even experienced developers sometimes forget to put parentheses 
after file.close, or at least we used to before context managers.
(I know I did. I don't think I'm alone.)
-- 
Steven
_______________________________________________
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/2CYL73OEJEB3KPULON4NIC6ETKJ235VZ/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to