[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/container - __init__.py:1.14
Albertas Agejevas
alga@codeworks.lt
Tue, 22 Jul 2003 12:42:18 -0400
Update of /cvs-repository/Zope3/src/zope/app/interfaces/container
In directory cvs.zope.org:/tmp/cvs-serv32380/src/zope/app/interfaces/container
Modified Files:
__init__.py
Log Message:
Noted that setObject may choose to add a different object than the one
that was passed in.
=== Zope3/src/zope/app/interfaces/container/__init__.py 1.13 => 1.14 ===
--- Zope3/src/zope/app/interfaces/container/__init__.py:1.13 Mon Jun 23 18:46:15 2003
+++ Zope3/src/zope/app/interfaces/container/__init__.py Tue Jul 22 12:42:13 2003
@@ -68,6 +68,9 @@
def setObject(key, object):
"""Add the given object to the container under the given key.
+ The container might choose to add a different object than the
+ one passed to this method.
+
Raises a ValueError if key is an empty string, unless the
container chooses a different key.