[issue5937] Problems with dbm documentation

2009-05-17 Thread Georg Brandl
Georg Brandl added the comment: Superseded by #6045. -- resolution: -> duplicate status: open -> closed superseder: -> Fix dbm interfaces ___ Python tracker ___ ___

[issue5937] Problems with dbm documentation

2009-05-05 Thread Mitchell Model
Mitchell Model added the comment: And, checking the methods of dbm.ndbm, I find get() and setdefault() but nothing like iterkeys() or iteritems(), just keys(). I think it might also be worth pointing out that a particular variation of dbm may be chosen to create a database file by calling the s

[issue5937] Problems with dbm documentation

2009-05-05 Thread Mitchell Model
Mitchell Model added the comment: Further confusion: dbm.dumb._Database objects DO support items(), DO NOT support iteritems(), and DO support iterkeys() My previous comments referred to the general dbm documentation and the specifics of dbm.gnu. I haven't checked any of this against the Un

[issue5937] Problems with dbm documentation

2009-05-04 Thread Mitchell Model
New submission from Mitchell Model : There are some problems with the dbm documentation. In the opening section: 1. The comment before the iteration example says that .values() works, but the method is not defined. 2. The statement in the paragraph after the documentation of dbm.open() says th