Irit Katriel <[email protected]> added the comment:
Still the same in 3.10:
Python 3.10.0a5+ (heads/master:bf2e7e55d7, Feb 11 2021, 23:09:25) [MSC v.1928
64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> print 3
File "<stdin>", line 1
print 3
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(3)?
>>> def f(x): return x
...
>>> print f(3)
File "<stdin>", line 1
print f(3)
^
SyntaxError: invalid syntax
----------
nosy: +iritkatriel
versions: +Python 3.10 -Python 3.8
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue34013>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com