[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/intid/interfaces.py
Added missing important info:
Jim Fulton
jim at zope.com
Mon Jun 13 16:55:06 EDT 2005
Log message for revision 30786:
Added missing important info:
IntIds.register requires an object that can be adapted to
IKeyReference.
Changed:
U Zope3/trunk/src/zope/app/intid/interfaces.py
-=-
Modified: Zope3/trunk/src/zope/app/intid/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/app/intid/interfaces.py 2005-06-13 15:14:01 UTC (rev 30785)
+++ Zope3/trunk/src/zope/app/intid/interfaces.py 2005-06-13 20:55:05 UTC (rev 30786)
@@ -36,6 +36,8 @@
def register(ob):
"""Register an object and returns a unique id generated for it.
+ The object *must* be adaptable to IKeyReference.
+
If the object is already registered, its id is returned anyway.
"""
More information about the Zope3-Checkins
mailing list