By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,002 Members | 1,020 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,002 IT Pros & Developers. It's quick & easy.

Passing through keywork arguments

P: n/a
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.
Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

<jw**********@ramprecision.com> wrote in message
news:ma*************************************@pytho n.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
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.