Forwarding keyword arguments

Robert Dailey rcdailey at gmail.com
Tue Jun 23 19:57:36 EDT 2009


Suppose I have 2 functions like so:

def Function2( **extra ):
   # do stuff

def Function1( **extra ):
   Function2( extra )

As you can see, I would like to forward the additional keyword
arguments in variable 'extra' to Function2 from Function1. How can I
do this? I'm using Python 3.0.1



More information about the Python-list mailing list