On 4 July 2013 05:47, alex23 <[email protected]> wrote: > On 4/07/2013 2:12 PM, Joshua Landau wrote: >> >> On 4 July 2013 04:52, Maciej Dziardziel <[email protected]> wrote: >>> >>> def foo(*args, bar=1, **kwargs): >>> pass > > >> Try "foo(1)" and it will fail -- "bar" needs to be given as a keyword. > > > No it won't, because it is supplied with a default.
Pah! I'm not even thinking. -- http://mail.python.org/mailman/listinfo/python-list
