Syntax error for simple script

Skip Montanaro skip.montanaro at gmail.com
Mon Jun 26 13:15:59 EDT 2017


On Mon, Jun 26, 2017 at 11:41 AM, Rurpy via Python-list
<python-list at python.org> wrote:
> In Python 2, 'print' was a statement and did not require
>   parenthesis around its argument.  In Python 3 'print' has
>   been changed to a function

I'm not sure that at this point Python 3's error messages should be
polluted with explanations for the difference between 2.x and 3.x.

Skip



More information about the Python-list mailing list