Built-in functions and keyword arguments
Marc 'BlackJack' Rintsch
bj_666 at gmx.net
Tue Oct 30 03:53:17 EDT 2007
On Tue, 30 Oct 2007 07:28:07 +0200, Hendrik van Rooyen wrote:
> yes - the point I am trying to make is that the intention of the OP
> was to use an assignment as an argument, and you can't do that,
> as the interpreter thinks its a keyword. Hence the gotcha.
Then you must have misunderstand his intention. He wanted to give the
optional third argument of `getattr()` as keyword argument.
Ciao,
Marc 'BlackJack' Rintsch
More information about the Python-list
mailing list