[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/keyreference/persistent.py
Changed module description to what it really is.
Jürgen Kartnaller
juergen at kartnaller.at
Sat Sep 30 11:32:09 EDT 2006
Log message for revision 70449:
Changed module description to what it really is.
Changed:
U Zope3/trunk/src/zope/app/keyreference/persistent.py
-=-
Modified: Zope3/trunk/src/zope/app/keyreference/persistent.py
===================================================================
--- Zope3/trunk/src/zope/app/keyreference/persistent.py 2006-09-30 10:01:26 UTC (rev 70448)
+++ Zope3/trunk/src/zope/app/keyreference/persistent.py 2006-09-30 15:32:09 UTC (rev 70449)
@@ -11,13 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""Unique id utility.
+"""KeyReference for persistent objects.
-This utility assigns unique integer ids to objects and allows lookups
-by object and by id.
+Provides an IKeyReference adapter for persistent objects.
-This functionality can be used in cataloging.
-
$Id$
"""
from ZODB.interfaces import IConnection
@@ -26,9 +23,10 @@
import zope.app.keyreference.interfaces
class KeyReferenceToPersistent(object):
- """An IReference for persistent object which is comparable.
+ """An IKeyReference for persistent objects which is comparable.
- These references compare by _p_oids of the objects they reference.
+ These references compare by database name and _p_oids of the objects they
+ reference.
"""
zope.interface.implements(zope.app.keyreference.interfaces.IKeyReference)
More information about the Zope3-Checkins
mailing list