question: parameters for create_polygon() method

Peter Finlayson frnknstn at iafrica.com
Wed May 5 17:19:08 EDT 2004


Andrew Bennetts wrote:
 > Odd, though -- I thought that calls that put non-keyword args after
 > keyword args were a syntax error

I thing that is because the standard form for the calls are:
def mydef(arg1, arg2, *args, **keywords)
ie with the arbitrary argument lists after the formal args.

Peter Finlayson





More information about the Python-list mailing list