Passing through keywork arguments
Simon Dahlbacka
sdahlbacSPAMSUX at abo.fi
Tue Apr 27 17:08:04 EDT 2004
<jwsacksteder at ramprecision.com> wrote in message
news:mailman.62.1083098978.25742.python-list at python.org...
> If I have a class method that accepts keywork arguments, how may I pass
> those arguments into a method call of some other class? This is some
> namespace thing I'm not understanding and I can't seem to find any
examples.
def function_accepting_kwargs(**kw):
# optionally check/mangle kw here (it is a dictionary)
otherfunction(**kw)
/Simon
More information about the Python-list
mailing list