howto resend args and kwargs to other func?
- From: dmitrey <openopt@xxxxxxx>
- Date: Sun, 01 Jul 2007 01:53:17 -0700
I need something like this:
def func1(*args, **kwargs):
if some_cond:
return func2(*args, **kwargs)
else:
return func3(some_other_args, **kwargs)
Thank you in advance, D.
.
- Follow-Ups:
- Re: howto resend args and kwargs to other func?
- From: Duncan Booth
- Re: howto resend args and kwargs to other func?
- Prev by Date: Re: How to close a program I execute with subprocess.Popen?
- Next by Date: Re: howto resend args and kwargs to other func?
- Previous by thread: Re: How to close a program I execute with subprocess.Popen?
- Next by thread: Re: howto resend args and kwargs to other func?
- Index(es):