-
Francis Herne authored
The Python C-API is weird here. By calling PyErr_NormalizeException, we get an instance of SyntaxError (or its subclass IndentationError) as the value instead of a plain tuple, which makes things clearer. Another effect is that we get the "Missing parentheses in call to 'print'" message when relevant instead of just "invalid syntax".
836545d1