you are referring to compound statements, while py-end-of-statement deals with simple statement.
Rusell provided a solution for a special case, which is okay. However, seen from this point, it's probable, there might be more and other special cases: blank lines, comments , lists over multiple lines etc.
you are referring to compound statements, while py-end-of-statement deals with simple statement.
Rusell provided a solution for a special case, which is okay. However, seen from this point, it's probable, there might be more and other special cases: blank lines, comments , lists over multiple lines etc.
That's the notion of statement is for.
Cheers,
Andreas