[Zodb-checkins] CVS: Zope3/src/zodb/storage - interfaces.py:1.15

Barry Warsaw barry@wooz.org
Thu, 3 Apr 2003 16:53:23 -0500


Update of /cvs-repository/Zope3/src/zodb/storage
In directory cvs.zope.org:/tmp/cvs-serv9211

Modified Files:
	interfaces.py 
Log Message:
Add a docstring to lastSerial()


=== Zope3/src/zodb/storage/interfaces.py 1.14 => 1.15 ===
--- Zope3/src/zodb/storage/interfaces.py:1.14	Thu Apr  3 16:50:18 2003
+++ Zope3/src/zodb/storage/interfaces.py	Thu Apr  3 16:53:22 2003
@@ -166,7 +166,11 @@
         pass
 
     def lastSerial(oid):
-        pass
+        """Return last serialno committed for object oid.
+
+        If there is no serialno for this oid -- which can only occur
+        if it is a new object -- return None.
+        """
 
     def pack(t, gc=True):
         """Perform a pack on the storage.