[Zodb-checkins] CVS: ZODB3/ZEO - TransactionBuffer.py:1.6

Guido van Rossum guido@python.org
Thu, 29 Aug 2002 15:29:56 -0400


Update of /cvs-repository/ZODB3/ZEO
In directory cvs.zope.org:/tmp/cvs-serv8988

Modified Files:
	TransactionBuffer.py 
Log Message:
Add a comment explaining valid call sequences.


=== ZODB3/ZEO/TransactionBuffer.py 1.5 => 1.6 ===
--- ZODB3/ZEO/TransactionBuffer.py:1.5	Thu Aug 29 12:31:17 2002
+++ ZODB3/ZEO/TransactionBuffer.py	Thu Aug 29 15:29:56 2002
@@ -26,6 +26,12 @@
 
 class TransactionBuffer:
 
+    # Valid call sequences:
+    #
+    #     ((store | invalidate)* begin_iterate next* clear)* close
+    #
+    # get_size can be called any time
+
     def __init__(self):
         self.file = tempfile.TemporaryFile(suffix=".tbuf")
         self.count = 0