Parentheses (as after "print")

Steve D'Aprano steve+python at pearwood.info
Tue Sep 26 21:51:15 EDT 2017


On Wed, 27 Sep 2017 06:00 am, Stefan Ram wrote:

> Python could have taken the indentation of the
> next line to tell that this is supposed to be
> a function definition and not a function call.


"Do What I Mean" (DWIM) programming is a terrible idea.


-- 
Steve
“Cheer up,” they said, “things could be worse.” So I cheered up, and sure
enough, things got worse.




More information about the Python-list mailing list