Hello all, A confusing error message from IronPython 2.6 B2:
>>> def f(a=None): ... pass ... >>> f(1, a=3) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: f() takes at most 1 non-keyword argument (1 given) CPython: >>> def f(a=None): ... pass ... >>> f(100, a='fish') Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: f() got multiple values for keyword argument 'a' >>> -- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog _______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
