On 10/06/20 1:56 pm, Ricky Teachey wrote:
I have a question. Is there a very good reason that the language allows spaces between function names and the parentheses?

 >>> print           (1,2,3)

Python, in common with many other languages, allows whitespace
between any pair of lexical tokens. It would be very surprising
to disallow it in just this one context.

Also, some style guides require a space there, so changing it
now would likely break a lot of code.

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

Reply via email to