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

What is the role of F in dict(E, **F)

P: n/a
help(dict.update) Help on method_descriptor:

D.update(E, **F) -> None. Update D from E and F: for k in E: D[k]
= E[k]
(if E has keys else: for (k, v) in E: D[k] = v) then: for k in F:
D[k] = F[k]

As I understand update() is used to merge two dictionaries, for example
D={'a':1, 'b':2}
D {'a': 1, 'c': 6, 'b': 4}

But what is the role of **F?


Sep 5 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.