[ZODB-Dev] [ zodb-Bugs-502852 ] doc bug: section 2.4 incorrect code
noreply@sourceforge.net
noreply@sourceforge.net
Sat, 09 Nov 2002 14:33:50 -0800
Bugs item #502852, was opened at 2002-01-12 18:39
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=115628&aid=502852&group_id=15628
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Richard Jones (richard)
>Assigned to: Jeremy Hylton (jhylton)
Summary: doc bug: section 2.4 incorrect code
Initial Comment:
The code in section 2.4 "Writing a Persistent Class"
has some examples. Specifically, it uses the BTree
class - which doesn't exist. The code needs to be
changed to:
from BTrees import OOBTree
self.dbroot['userdb'] = OOBTree.OOBTree()
for it to work out of the box. I believe OOBtree is
the correct one to use in this case, but I haven't
had a chance to actually investigate it...
----------------------------------------------------------------------
>Comment By: Guido van Rossum (gvanrossum)
Date: 2002-11-09 17:33
Message:
Logged In: YES
user_id=6380
Looks like this is still wrong. Assigning to Jeremy. (The
file is Doc/prog-zodb.tex.)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=115628&aid=502852&group_id=15628