Passing on variable arguments

Ralf Juengling juenglin at informatik.uni-freiburg.de
Fri May 3 03:00:51 EDT 2002


Hi,

how do I pass on a variable number of arguments. For instance:

class A:

     def m(self, *args):
        pass

class B(A):

     def m(self, *args):
        # do sth with *args
        
        # pass them on to superclass method        
        B.m(self, ????)


Regards,
Ralf




More information about the Python-list mailing list