alexandre.vassalotti
2008-10-25 17:10:07 UTC
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
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