Commit eab86fe7 authored by Guido van Rossum's avatar Guido van Rossum

Add a comment explaining valid call sequences.

parent 2e949dbe
......@@ -26,6 +26,12 @@ import cPickle
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment