I need something like this:

1:  superfoo( non-keyword-args, keyword-args, methodname, *kargs,
*kwargs):
2:       """non-keyword-args  and  keyword-args are arguments that
3:           apply to superfoo, while *kargs and **kwargs are
arguments
4:           that apply to methodname. See below"""
5:       object=someClass()
6:       result=getattr(object,methodname)(*kargs,**kwargs)
7:       return result

The problem is: how can I pass both arguments for superfoo and
methodname in line 1: ? Is it possible?
-Jose

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to