[Zope-Checkins] CVS: Zope/lib/python/Shared/DC/ZRDB - TM.py:1.11

Jeremy Hylton jeremy@zope.com
Tue, 12 Nov 2002 16:53:34 -0500


Update of /cvs-repository/Zope/lib/python/Shared/DC/ZRDB
In directory cvs.zope.org:/tmp/cvs-serv32025

Modified Files:
	TM.py 
Log Message:
Add note about sortKey() and fix typo.


=== Zope/lib/python/Shared/DC/ZRDB/TM.py 1.10 => 1.11 ===
--- Zope/lib/python/Shared/DC/ZRDB/TM.py:1.10	Wed Aug 14 17:50:59 2002
+++ Zope/lib/python/Shared/DC/ZRDB/TM.py	Tue Nov 12 16:53:33 2002
@@ -17,12 +17,15 @@
 class TM:
     """Mix-in class that provides transaction management support
 
-    A sub class should call self._register() whenever it performs
-    any transaction-dependent operations (e.g. sql statements).
+    A sub class should call self._register() whenever it performs any
+    transaction-dependent operations (e.g. sql statements).
 
-    The sub class will need to override _finish, to finallize work,
-    _abort, to roll-back work, and perhaps _begin, if any work is needed
-    at the start of a transaction.
+    The sub class will need to override _finish, to finalize work,
+    _abort, to roll-back work, and perhaps _begin, if any work is
+    needed at the start of a transaction.
+
+    A subclass that uses locking during transaction commit must
+    defined a sortKey() method.
     """
 
     _registered=None