Line continuation issue\

Westley Martínez anikom15 at gmail.com
Tue Nov 8 14:11:58 EST 2011


On Fri, Nov 04, 2011 at 11:10:58AM -0400, Steven Lehar wrote:
> Is this the right place to propose language extensions?
> 
> My Python code keeps expanding rightwards, it is difficult to keep it
> contained within reasonable limits. But the standard line continuation \
> is positively anti-Pythonic because an *invisible* white space between \
> and [CR] will render it useless.
> 
> How about a new Python symbol, maybe \\ that CAN have following whitespace
> which is ignored, so that seeing a \\ in the code forces it to continue on
> the next line.
> 
> Has this issue been discussed already?
> 
>   slehar

Use subroutines.



More information about the Python-list mailing list