In message <874oc1ldo6....@benfinney.id.au>, Ben Finney wrote:

> Yingjie Lan <lany...@yahoo.com> writes:
> 
>> Allow the conditions in the if-, elif-, while-, for-, and with-clauses
>> to span multiple lines without using a backlalsh at the end of a line,
> 
> You can already do this with any expression: use parentheses.

It’s easy enough to do things like this:

    if (
            TheMesh.vertices[OtherVertex].select
        and
            OtherVertex != ThatVertex
        and
            OtherVertex != ThisLine[-2]
        and
            OtherVertex != ThisVertex
    ) :
        ...
    #end if

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to