Éric Araujo <[email protected]> added the comment: Arg, the internal classes returned by dbm.*.open have keys but not necessarily items. See #9523, #6045 and #5736.
The docs should be fixed independently of that, with the less non-idiomatic code that we can find. Do you want to check the dbm docs for other similar broken examples? I’ll review the patch. ---------- assignee: d...@python -> eric.araujo _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue10609> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
