Commit 03204645 authored by Tim Peters's avatar Tim Peters

Repaired typos in comments.

parent d7472ec1
...@@ -39,7 +39,7 @@ class _Database(UserDict.DictMixin): ...@@ -39,7 +39,7 @@ class _Database(UserDict.DictMixin):
# gets called. One place _commit() gets called is from __del__(), # gets called. One place _commit() gets called is from __del__(),
# and if that occurs at program shutdown time, module globals may # and if that occurs at program shutdown time, module globals may
# already have gotten rebound to None. Since it's crucial that # already have gotten rebound to None. Since it's crucial that
# _commit() finish sucessfully, we can't ignore shutdown races # _commit() finish successfully, we can't ignore shutdown races
# here, and _commit() must not reference any globals. # here, and _commit() must not reference any globals.
_os = _os # for _commit() _os = _os # for _commit()
_open = _open # for _commit() _open = _open # for _commit()
......
...@@ -42,7 +42,7 @@ Library ...@@ -42,7 +42,7 @@ Library
on-disk data and directory files can be left in mutually inconsistent on-disk data and directory files can be left in mutually inconsistent
states. dumbdbm.py's _Database.__del__() method attempted to close states. dumbdbm.py's _Database.__del__() method attempted to close
the database properly, but a shutdown race in _Database._commit() the database properly, but a shutdown race in _Database._commit()
could prevent this form working, so that a program trusting __del__() could prevent this from working, so that a program trusting __del__()
to get the on-disk files in synch could be badly surprised. The race to get the on-disk files in synch could be badly surprised. The race
has been repaired. has been repaired.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment