2 ms·
In Python, a newline is a token and serves as a statement terminator. What I'm referring to is the notion that: a = b c = d; can be successfully parsed w
by WalterBright 6y ago
In Python, a newline is a token and serves as a statement terminator.
What I'm referring to is the notion that:
a = b c = d;
can be successfully parsed with no ; between b and c. This is true, it can be. But then it makes errors difficult to detect, such as:
a = b
*p;
Is that one statement or two?