New submission from Pratik Palwai <[email protected]>:
When I get a syntax error, it shows the line with the error, and then a little
'^' on the next line, showing where the error is. However, the location of the
'^' is a little misleading, since it isn't in the right spot. For example (not
sure if it will format correctly though):
elif self.left == None and self.right =! None:
^
The symbol should be under the +! instead of under the 'and.' Also, this
problem doesn't occur with the font Courier.
----------
assignee: terry.reedy
components: IDLE
messages: 382900
nosy: 1051371, terry.reedy
priority: normal
severity: normal
status: open
title: Syntax Error showing pointer in wrong location
type: enhancement
versions: Python 3.9
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue42623>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com