Oddity with function default arguments

Erik Max Francis max at alcyone.com
Sat Jun 12 11:37:01 CEST 2004


Sheila King wrote:

> SyntaxError: invalid syntax
> 
> Why isn't the default value for a printing out when I include list
> arguments?

The remaining arguments (*) or remaining keyword arguments (**) go at
the end of the argument list.

-- 
 __ Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
/  \ San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
\__/ Did you ever love somebody / Did you ever really care
    -- Cassandra Wilson



More information about the Python-list mailing list