Discussion:
[Python-3000-checkins] r67026 - python/branches/py3k/Doc/includes/dbpickle.py
alexandre.vassalotti
2008-10-25 17:10:07 UTC
Permalink
Author: alexandre.vassalotti
Date: Sat Oct 25 19:10:07 2008
New Revision: 67026

Log:
Fix a grammar mistake in a comment.


Modified:
python/branches/py3k/Doc/includes/dbpickle.py

Modified: python/branches/py3k/Doc/includes/dbpickle.py
==============================================================================
--- 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)
else:
# If obj does not have a persistent ID, return None. This means obj
Loading...