hehe i saw that,that is what made my understand it.
the decorator now works.
let say i have a function decorated with two decorators:
@Accept(int,int)
@OtherDecorator
def myfunc(a,b):
pass
how can i make the two decorators into one(note:one get parameters and
the other doesn`t)
--
http://ma
At Monday 25/9/2006 21:58, urielka wrote:
i think i got what the * and ** mean.
*args mean arguments that are assigned by position(that is why *arg is
a tuple)
**kwds mean arguments that are assigned using equals a=2,b=3 (that is
why **kwds i a dict)
but why self is in *args and other thing goes
i think i got what the * and ** mean.
*args mean arguments that are assigned by position(that is why *arg is
a tuple)
**kwds mean arguments that are assigned using equals a=2,b=3 (that is
why **kwds i a dict)
but why self is in *args and other thing goes to **kwds? even if not
assigned using equals