Message310852
The suggestion given when a for and print with the syntax for python 2.x are used together seems erroneous.
Steps to reproduce:
Just type following in the python interpreter (3.x):
for p in some_list: print p
The error produced is:
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(in some_list: print p)?
I am also attaching a small file, that produces the error when run with:
python3 printBug.py |
|
Date |
User |
Action |
Args |
2018-01-27 10:31:56 | storymode7 | set | recipients:
+ storymode7 |
2018-01-27 10:31:56 | storymode7 | set | messageid: <1517049116.26.0.467229070634.issue32685@psf.upfronthosting.co.za> |
2018-01-27 10:31:56 | storymode7 | link | issue32685 messages |
2018-01-27 10:31:56 | storymode7 | create | |
|