Ron a écrit : (snip)
def dfv( arg = value):
return arg
> >>> def dfv( arg = value): ... return arg ... Traceback (most recent call last): File "<stdin>", line 1, in ? NameError: name 'value' is not defined
And sorry, but -1 for using exec here. -- http://mail.python.org/mailman/listinfo/python-list