Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 45a583b

Browse files
committed
Fix a grammar mistake in a comment.
1 parent 1a6e0d0 commit 45a583b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/includes/dbpickle.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ class DBPickler(pickle.Pickler):
1212

1313
def persistent_id(self, obj):
1414
# Instead of pickling MemoRecord as a regular class instance, we emit a
15-
# persistent ID instead.
15+
# persistent ID.
1616
if isinstance(obj, MemoRecord):
17-
# Here, our persistent ID is simply a tuple containing a tag and a
18-
# key which refers to a specific record in the database.
17+
# Here, our persistent ID is simply a tuple, containing a tag and a
18+
# key, which refers to a specific record in the database.
1919
return ("MemoRecord", obj.key)
2020
else:
2121
# If obj does not have a persistent ID, return None. This means obj

0 commit comments

Comments
 (0)