[docs] [issue10609] dbm documentation example doesn't work (iteritems())

Éric Araujo report at bugs.python.org
Sat Dec 4 16:16:14 CET 2010


Éric Araujo <merwok at netwok.org> 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: docs at python -> eric.araujo

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10609>
_______________________________________


More information about the docs mailing list