Alexander Belopolsky schrieb:
Python allows arbitrary sequences after * in calls, but an expression
following ** must be a (subclass of) dict. I believe * and ** should
be treated similarly and since f(*UserList(..)) is valid,
f(**UserDict(..)) should be valid as well.
Of course, I can
I'm +1 on the idea, but have no time to review the change.
On 4/18/07, Georg Brandl [EMAIL PROTECTED] wrote:
Alexander Belopolsky schrieb:
Python allows arbitrary sequences after * in calls, but an expression
following ** must be a (subclass of) dict. I believe * and ** should
be treated
Python allows arbitrary sequences after * in calls, but an expression
following ** must be a (subclass of) dict. I believe * and ** should
be treated similarly and since f(*UserList(..)) is valid,
f(**UserDict(..)) should be valid as well.
Of course, I can work around this limitation by writing