[issue30597] Show expected input in custom "print" error message

Serhiy Storchaka report at bugs.python.org
Tue Jun 20 09:38:36 EDT 2017


Serhiy Storchaka added the comment:

Actually end=' ' in Python 3 is not exact replacement of the trailing comma in Python 2. But it covers most of cases. The difference is too subtle and too subtle for the user that makes an error of using Python 2 syntax in Python 3.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30597>
_______________________________________


More information about the Python-bugs-list mailing list