[Python-ideas] with statement syntax forces ugly line breaks?
greg.ewing at canterbury.ac.nz
Thu Sep 9 01:19:47 CEST 2010
> On 08/09/2010 22:30, Nick Coghlan wrote:
>> I've sometimes wondered if we should consider the idea of making line
>> continuation implicit between keywords and their associated colons.
> If a colon was omitted by mistake, how much later would the parser
> report a syntax error?
It might be best to allow this only if the continuation
lines are indented at least as far as the starting line.
More information about the Python-ideas