syntax for preset locals without using dummy args with defaults

Terry Reedy tjreedy at udel.edu
Sat Jan 11 16:41:55 CET 2003


> Just so I know, do you mean like
>
> def spam(x, y=default; z=some_expression):
> ?

Yes.
tjr






More information about the Python-list mailing list