arguments to functions
Fredrik Lundh
fredrik at pythonware.com
Mon Jul 1 07:10:44 EDT 2002
More information about the Python-list mailing list
Mon Jul 1 07:10:44 EDT 2002
- Previous message (by thread): arguments to functions
- Next message (by thread): Dr. Dobb's Python-URL! - weekly Python news and links (Jul 1)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Bengt Richter wrote: > >>> test(10, 11, 12, expected=5) > Traceback (most recent call last): > File "<stdin>", line 1, in ? > TypeError: test() got multiple values for keyword argument 'expected' > > I'd be inclined to call that a bug, actually. only if you're ignoring the language reference, which tells you how this really works. </F>
- Previous message (by thread): arguments to functions
- Next message (by thread): Dr. Dobb's Python-URL! - weekly Python news and links (Jul 1)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list