> On Friday 05 March 2010, Kamil Wasilewski wrote: >> > server.doGetCountries(**{ >> > 'country-code': COUNTRYID, 'webapi-key': WEBAPIKEY >> > }) >> >> The above gives a syntax error...
> What kind of syntax error? I tested this approached on the interactive > Python shell and it worked fine there: >>>> def f(**kvargs): > ... print kvargs > ... >>>> f(a = 1, **{'b-c': 12}) > {'a': 1, 'b-c': 12} hu, it did work.. must of been a mistake on my part. But i tried that method a few times. Well that solved a problem ive been sitting on for a while. Thank you! _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python