Commit 80e44ec5 authored by Guido van Rossum's avatar Guido van Rossum

Document that the 'last' argument to new_oid() is not part of the

public API.
parent b73f515d
......@@ -15,7 +15,7 @@
"""
# Do this portably in the face of checking out with -kv
import string
__version__ = string.split('$Revision: 1.20 $')[-2:][0]
__version__ = string.split('$Revision: 1.21 $')[-2:][0]
import ThreadLock, bpthread
import time, UndoLogCompatible
......@@ -75,6 +75,7 @@ class BaseStorage(UndoLogCompatible.UndoLogCompatible):
return ''
def new_oid(self, last=None):
# 'last' is only for internal use, not part of the public API
if self._is_read_only:
raise POSException.ReadOnlyError()
if last 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