Re: howto resend args and kwargs to other func?
- From: Duncan Booth <duncan.booth@xxxxxxxxxxxxxxx>
- Date: 1 Jul 2007 09:00:45 GMT
dmitrey <openopt@xxxxxxx> wrote:
I need something like this:You 'need something like this', so write something like that.
def func1(*args, **kwargs):
if some_cond:
return func2(*args, **kwargs)
else:
return func3(some_other_args, **kwargs)
Thank you in advance, D.
Did you intend to ask a question?
.
- Follow-Ups:
- Re: howto resend args and kwargs to other func?
- From: dmitrey
- Re: howto resend args and kwargs to other func?
- References:
- howto resend args and kwargs to other func?
- From: dmitrey
- howto resend args and kwargs to other func?
- Prev by Date: howto resend args and kwargs to other func?
- Next by Date: Re: howto resend args and kwargs to other func?
- Previous by thread: howto resend args and kwargs to other func?
- Next by thread: Re: howto resend args and kwargs to other func?
- Index(es):