Message320797
Python 3.8.0a0 (heads/master-dirty:0cdf5f4289, Jul 1 2018, 02:30:31)
[Clang 9.1.0 (clang-902.0.39.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> print "hi"
File "<stdin>", line 1
print "hi"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("hi")?
>>> def add(a,b):
... return a + b
...
>>> print add(3,5)
File "<stdin>", line 1
print add(3,5)
^
SyntaxError: invalid syntax
IMHO, an error message should be 'SyntaxError: Missing parentheses in call to 'print'. Did you mean print(add(3,5))?' but it is not. |
|
Date |
User |
Action |
Args |
2018-06-30 17:42:58 | corona10 | set | recipients:
+ corona10 |
2018-06-30 17:42:58 | corona10 | set | messageid: <1530380578.04.0.56676864532.issue34013@psf.upfronthosting.co.za> |
2018-06-30 17:42:58 | corona10 | link | issue34013 messages |
2018-06-30 17:42:57 | corona10 | create | |
|