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

Edward C. Jones edcjones at erols.com
Sun Dec 23 23:49:30 EST 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