[Zope-CVS] SVN: messageboard/trunk/step01/interfaces.py Had to
specify the __setitem__() method still, so that the precondition
Stephan Richter
srichter at cosmos.phy.tufts.edu
Sat May 15 12:39:22 EDT 2004
Log message for revision 24719:
Had to specify the __setitem__() method still, so that the precondition
would not be imposed on all IContainers
-=-
Modified: messageboard/trunk/step01/interfaces.py
===================================================================
--- messageboard/trunk/step01/interfaces.py 2004-05-15 16:31:38 UTC (rev 24718)
+++ messageboard/trunk/step01/interfaces.py 2004-05-15 16:39:22 UTC (rev 24719)
@@ -27,6 +27,9 @@
class IMessage(IContainer):
"""A message object. It can contain its own responses."""
+ def __setitem__(name, object):
+ """Add a IMessage object."""
+
title = TextLine(
title=u"Title/Subject",
description=u"Title and/or subject of the message.",
More information about the Zope-CVS
mailing list