Commit 3d475e0d authored by Jeremy Hylton's avatar Jeremy Hylton

Turn comment into docstring

parent dbe9fb5d
...@@ -85,13 +85,15 @@ class StorageTestBase(unittest.TestCase): ...@@ -85,13 +85,15 @@ class StorageTestBase(unittest.TestCase):
def _dostore(self, oid=None, revid=None, data=None, version=None, def _dostore(self, oid=None, revid=None, data=None, version=None,
already_pickled=0): already_pickled=0):
# Do a complete storage transaction. The defaults are: """Do a complete storage transaction. The defaults are:
# - oid=None, ask the storage for a new oid
# - revid=None, use a revid of ZERO - oid=None, ask the storage for a new oid
# - data=None, pickle up some arbitrary data (the integer 7) - revid=None, use a revid of ZERO
# - version=None, use the empty string version - data=None, pickle up some arbitrary data (the integer 7)
# - version=None, use the empty string version
# Returns the object's new revision id
Returns the object's new revision id.
"""
if oid is None: if oid is None:
oid = self._storage.new_oid() oid = self._storage.new_oid()
if revid is None: if revid 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