Message236560
I tripped over a couple of SyntaxError cases where the diagnostic caret is misplaced.
>>> While x:
File "<stdin>", line 1
While x:
^
SyntaxError: invalid syntax
The caret should point to the capital W in 'While'.
>>> for x in the range(10):
File "<stdin>", line 1
for x in the range(10):
^
SyntaxError: invalid syntax
The caret should point to the 'the'. |
|
Date |
User |
Action |
Args |
2015-02-25 02:58:19 | zwol | set | recipients:
+ zwol |
2015-02-25 02:58:19 | zwol | set | messageid: <1424833099.8.0.762005260502.issue23518@psf.upfronthosting.co.za> |
2015-02-25 02:58:19 | zwol | link | issue23518 messages |
2015-02-25 02:58:19 | zwol | create | |
|