summaryrefslogtreecommitdiffstats
path: root/Doc/includes
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/includes')
-rw-r--r--Doc/includes/dbpickle.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/includes/dbpickle.py b/Doc/includes/dbpickle.py
index 1158744..c021eac 100644
--- a/Doc/includes/dbpickle.py
+++ b/Doc/includes/dbpickle.py
@@ -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