[Python-Dev] Re: new syntax for wrapping (PEP 318)

Paul Svensson paul-python at svensson.org
Fri Feb 27 06:59:17 EST 2004


"Delaney, Timothy C (Timothy)" <tdelaney at avaya.com> writes:

>     +0 on def foo (bar) as baz: if there's a way to extend it multi-line.

Thinking of the proposed change to allow parentheses with import, how about:

    def foo(bar) as baz, gazonk: pass

    def foo(bar) as (baz, gazonk): pass

    def foo(bar) as (baz,
                     gazonk): pass


              /Paul



More information about the Python-Dev mailing list