What does earliest point mean here?

The parser repeats the offending line and displays a little 'arrow' pointing at the earliest point in the line where the error was detected. The error is caused by (or at least detected at) the token _preceding_the arrow.

This screenshot is taken from Python Documentary. I wanted to know what does earliest point mean here? (I have marked it with a red line). Does it mean the first point where an error was detected?

Answer

Yes- specifically, not just the earliest point, but the earliest point on a line where the syntax error occurred.

Attribution
Source : Link , Question Author : GforOevOerD , Answer Author : Gary

Leave a Comment