On Jul 16, 10:40 am, Robert Dailey <[EMAIL PROTECTED]> wrote: > I noticed that the ** operator is used as the power operator, however > I've seen it used when passing variables into a function. For example, > I was researching a way to combine dictionaries. I found that if you > do this: > > a = {"t1":"a", "t2":"b"} > b = {"t3":"c"} > dict( a, **b ) > > This combines the two dictionaries.
Use dict.update to combine dictionaries. -Mike -- http://mail.python.org/mailman/listinfo/python-list