noob question: "TypeError" wrong number of args

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Thu May 4 02:31:58 CEST 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