>  Thanks to default arguments, we can pass arguments in any order to
>  some functions:
>

Oops, I missed my redefinition of f:

>>> def f(x=1, y=2):  print x, y

>  >>> f()
>  1 2
>  >>> f(y=100, x='ardvarrk') # mentioning y first, types irrelevant
>  ardvarrk 100
>

Plus misspelled 'aardvark' (sigh).

Kirby
_______________________________________________
Edu-sig mailing list
[email protected]
http://mail.python.org/mailman/listinfo/edu-sig

Reply via email to