[Zodb-checkins] CVS: Zope3/src/zodb - interfaces.py:1.10.2.2
Jeremy Hylton
jeremy@zope.com
Mon, 3 Mar 2003 17:10:16 -0500
Update of /cvs-repository/Zope3/src/zodb
In directory cvs.zope.org:/tmp/cvs-serv580/src/zodb
Modified Files:
Tag: jeremy-atomic-invalidation-branch
interfaces.py
Log Message:
Add get() to interface.
=== Zope3/src/zodb/interfaces.py 1.10.2.1 => 1.10.2.2 ===
--- Zope3/src/zodb/interfaces.py:1.10.2.1 Sat Mar 1 21:34:52 2003
+++ Zope3/src/zodb/interfaces.py Mon Mar 3 17:10:16 2003
@@ -256,6 +256,12 @@
If there is a current transaction, it will be aborted.
"""
+ def get(oid):
+ """Return object for `oid`.
+
+ The object may be a ghost.
+ """
+
class IDatabase(Interface):
"""Interface between the database and its connections."""