PyDocs

Nav

Internet Protocols and Support

Morsel.update

  • Morsel.update(values)
D.update([E, ]**F) -> None.  Update D from mapping/iterable E and F.
If E is present and has a .keys() method, then does:  for k in E.keys(): D[k] = E[k]
If E is present and lacks a .keys() method, then does:  for k, v in E: D[k] = v
In either case, this is followed by: for k in F:  D[k] = F[k]
Changed in 3.5
  • 3.5: an error is raised for invalid keys.
0 Examples
No examples for http.cookies/Morsel.update.
See Also
No see-alsos for http.cookies/Morsel.update
0 Notes
No notes for Morsel.update