From: Alexandre Vassalotti Date: Sat, 25 Oct 2008 17:10:07 +0000 (+0000) Subject: Fix a grammar mistake in a comment. X-Git-Tag: v3.0rc2~40 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=45a583b6983705ab79f67ec453ae0522827575b6;p=thirdparty%2FPython%2Fcpython.git Fix a grammar mistake in a comment. --- diff --git a/Doc/includes/dbpickle.py b/Doc/includes/dbpickle.py index 115874471e4b..c021eac6c39f 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