Commit 2fa7756d authored by Tim Peters's avatar Tim Peters

Repaired some ReST markup.

parent ff5ff8fc
......@@ -43,17 +43,17 @@ BTrees
FileStorage
-----------
- Add a record iteration protocol to FileStorage. You can use the
- Addded a record iteration protocol to FileStorage. You can use the
record iterator to iterate over all current revisions of data
pickles in the storage.
In order to support calling via ZEO, we don't implement this as an
1actual iterator. An example of using the record iterator protocol
is as follows:
actual iterator. An example of using the record iterator protocol
is as follows::
storage = FileStorage('anexisting.fs')
next_oid = None
while 1:
while True:
oid, tid, data, next_oid = storage.record_iternext(next_oid)
# do something with oid, tid and data
if next_oid is None:
......
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