[Zodb-checkins] CVS: StandaloneZODB/ZODB/tests - StorageTestBase.py:1.6

Jeremy Hylton jeremy@zope.com
Fri, 28 Sep 2001 18:59:34 -0400


Update of /cvs-repository/StandaloneZODB/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv4206

Modified Files:
	StorageTestBase.py 
Log Message:
Turn comment into docstring




=== StandaloneZODB/ZODB/tests/StorageTestBase.py 1.5 => 1.6 ===
     def _dostore(self, oid=None, revid=None, data=None, version=None,
                  already_pickled=0):
-        # Do a complete storage transaction.  The defaults are:
-        # - oid=None, ask the storage for a new oid
-        # - revid=None, use a revid of ZERO
-        # - data=None, pickle up some arbitrary data (the integer 7)
-        # - version=None, use the empty string version
-        #
-        # Returns the object's new revision id
+        """Do a complete storage transaction.  The defaults are:
+        
+         - oid=None, ask the storage for a new oid
+         - revid=None, use a revid of ZERO
+         - data=None, pickle up some arbitrary data (the integer 7)
+         - version=None, use the empty string version
+        
+        Returns the object's new revision id.
+        """
         if oid is None:
             oid = self._storage.new_oid()
         if revid is None: