allow line break at operators
steve+comp.lang.python at pearwood.info
Sun Aug 14 19:26:50 CEST 2011
Chris Angelico wrote:
> On Sun, Aug 14, 2011 at 3:26 PM, Steven D'Aprano
> <steve+comp.lang.python at pearwood.info> wrote:
>> Yes, print as a statement was a mistake. But assignment as a statement,
>> not so much. Assignment as an expression in languages that have it tends
>> to be associated with frequent errors.
>> The way I see it, if something operates by side-effect, then it has no
>> business being treated as an expression.
> Wikipedia (that well-known authority) lists among examples of side
> effects both "write data to a display or file" and "modify one of its
Good point. I withdraw my statement about things that operate about
More information about the Python-list