> As I understand update() is used to merge two dictionaries, 
> for example
> >>> D={'a':1, 'b':2}
> >>> E={'b':4,'c':6}
> >>> D.update(E)
> >>> D
> {'a': 1, 'c': 6, 'b': 4}
> >>>
> 
> But what is the role of **F?


>>> D={'a':1, 'b':2}
>>> E={'b':4,'c':6}
>>> D.update(E, a=3)
>>> D
{'a': 3, 'c': 6, 'b': 4}


Ciao, Marc.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to