noob question: "TypeError" wrong number of args

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Wed May 3 20:31:58 EDT 2006


Marc 'BlackJack' Rintsch a écrit :
(snip)
> 
> Okay, let's start with writing a simple text processor for this little
> mess::
> 
>     def b(c):
>         def d(r, *s, **t):
>             print '***'
>             c(r, *s, **t)
>         return d
>     
>     
What a nice, readable, highly pythonic code...
(snip)



More information about the Python-list mailing list