[Python-Dev] Extended Function syntax

Neil Schemenauer nas@python.ca
Wed, 22 Jan 2003 11:37:40 -0800


Guido van Rossum wrote:
> I think the final proposal looked like this:
> 
>   def name(arg, ...) [expr, ...]:
>       ...body...

I thought it was:

   def name [expr, ...] (arg, ...):
        ...body...

That's the extension we are using for PTL.

  Neil