Raymond Hettinger added the comment:
This does need to be fixed.
FWIW, here is the relevant docstring from MutableMapping:
''' D.update([E, ]**F) -> None. Update D from mapping/iterable E and F.
If E present and has a .keys() method, does: for k in E: D[k] =
E[k]
If E present and lacks .keys() method, does: for (k, v) in E:
D[k] = v
In either case, this is followed by: for k, v in F.items(): D[k] = v
'''
----------
nosy: +rhettinger
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue27576>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com