[Zope3-checkins] CVS: Zope3/src/zodb - interfaces.py:1.3
Jeremy Hylton
jeremy@zope.com
Wed, 15 Jan 2003 17:59:08 -0500
Update of /cvs-repository/Zope3/src/zodb
In directory cvs.zope.org:/tmp/cvs-serv3051
Modified Files:
interfaces.py
Log Message:
Fix comment explaining serials attribute.
=== Zope3/src/zodb/interfaces.py 1.2 => 1.3 ===
--- Zope3/src/zodb/interfaces.py:1.2 Wed Dec 25 09:12:16 2002
+++ Zope3/src/zodb/interfaces.py Wed Jan 15 17:59:06 2003
@@ -52,9 +52,9 @@
a human-readable explanation of the error
serials : (string, string)
a pair of 8-byte packed strings; these are the serial numbers
- (old and new) of the object in conflict. (Serial numbers are
- closely related [equal?] to transaction IDs; a ConflictError may
- be triggered by a serial number mismatch.)
+ related to conflict. The first is the revision of object that
+ is in conflict, the second is the revision of that the current
+ transaction read when it started.
The caller should pass either object or oid as a keyword argument,
but not both of them. If object is passed, it should be a