]> granicus.if.org Git - python/commitdiff
Fix a grammar mistake in a comment.
authorAlexandre Vassalotti <alexandre@peadrop.com>
Sat, 25 Oct 2008 17:10:07 +0000 (17:10 +0000)
committerAlexandre Vassalotti <alexandre@peadrop.com>
Sat, 25 Oct 2008 17:10:07 +0000 (17:10 +0000)
Doc/includes/dbpickle.py

index 115874471e4b870bc03e96e580fb67746087e2aa..c021eac6c39f68fae335c90e75aed4bd08883432 100644 (file)
@@ -12,10 +12,10 @@ class DBPickler(pickle.Pickler):
 
     def persistent_id(self, obj):
         # Instead of pickling MemoRecord as a regular class instance, we emit a
-        # persistent ID instead.
+        # persistent ID.
         if isinstance(obj, MemoRecord):
-            # Here, our persistent ID is simply a tuple containing a tag and a
-            # key which refers to a specific record in the database.
+            # Here, our persistent ID is simply a tuple, containing a tag and a
+            # key, which refers to a specific record in the database.
             return ("MemoRecord", obj.key)
         else:
             # If obj does not have a persistent ID, return None. This means obj