[Python-3000-checkins] r67026 - python/branches/py3k/Doc/includes/dbpickle.py
python-3000-checkins at python.org
Sat Oct 25 19:10:07 CEST 2008
Date: Sat Oct 25 19:10:07 2008
New Revision: 67026
Fix a grammar mistake in a comment.
--- python/branches/py3k/Doc/includes/dbpickle.py (original)
+++ python/branches/py3k/Doc/includes/dbpickle.py Sat Oct 25 19:10:07 2008
@@ -12,10 +12,10 @@
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)
# If obj does not have a persistent ID, return None. This means obj
More information about the Python-3000-checkins