summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAlexandre Vassalotti <alexandre@peadrop.com>2008-10-25 17:10:07 (GMT)
committerAlexandre Vassalotti <alexandre@peadrop.com>2008-10-25 17:10:07 (GMT)
commit45a583b6983705ab79f67ec453ae0522827575b6 (patch)
tree057be4a4a11c33508bb67ca4d164353cffa63326 /Doc
parent1a6e0d08319324da4dd8e06d55a3a9b94d0a2f14 (diff)
downloadcpython-45a583b6983705ab79f67ec453ae0522827575b6.zip
cpython-45a583b6983705ab79f67ec453ae0522827575b6.tar.gz
cpython-45a583b6983705ab79f67ec453ae0522827575b6.tar.bz2
Fix a grammar mistake in a comment.
Diffstat (limited to 'Doc')
-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