f(n=4) works; bug or feature?

Edward C. Jones edcjones at erols.com
Mon Dec 24 05:49:30 CET 2001


In Python 2.2, the following code prints a "4".

def fun(n):
     print n

fun(n=4)

Bug or feature?

Thanks,
Ed Jones




More information about the Python-list mailing list