[Checkins]
SVN: megrok.five/trunk/src/megrok/five/tests/test_container.py
also point out that a megrok.five.Container is an object manager.
Philipp von Weitershausen
philikon at philikon.de
Thu Feb 15 10:08:35 EST 2007
Log message for revision 72599:
also point out that a megrok.five.Container is an object manager.
Changed:
U megrok.five/trunk/src/megrok/five/tests/test_container.py
-=-
Modified: megrok.five/trunk/src/megrok/five/tests/test_container.py
===================================================================
--- megrok.five/trunk/src/megrok/five/tests/test_container.py 2007-02-15 15:05:46 UTC (rev 72598)
+++ megrok.five/trunk/src/megrok/five/tests/test_container.py 2007-02-15 15:08:35 UTC (rev 72599)
@@ -47,6 +47,17 @@
>>> sorted(folder)
['garfield', 'john']
+ To maintain compatibility with Zope 2, a container is also an
+ object manager:
+
+ >>> folder.garfield.getId()
+ 'garfield'
+ >>> sorted(folder.objectIds())
+ ['garfield', 'john']
+
+ etc... (no point here to further dive into the horrors of the
+ object manager API.)
+
"""
def test_suite():
More information about the Checkins
mailing list