Anonymus functions revisited

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Tue Mar 22 21:43:48 CET 2005


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.



More information about the Python-list mailing list