diff options
author | Tim Peters <tim.peters@gmail.com> | 2003-07-13 02:37:05 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2003-07-13 02:37:05 (GMT) |
commit | 0320464583957258031ebee1b8897343211e4339 (patch) | |
tree | a3eac9e0b7637d1cd7c7bab6d65060001ca05687 | |
parent | d7472ec13a65c6c5ff00365b1477677d1fecbb3c (diff) | |
download | cpython-0320464583957258031ebee1b8897343211e4339.zip cpython-0320464583957258031ebee1b8897343211e4339.tar.gz cpython-0320464583957258031ebee1b8897343211e4339.tar.bz2 |
Repaired typos in comments.
-rw-r--r-- | Lib/dumbdbm.py | 2 | ||||
-rw-r--r-- | Misc/NEWS | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/dumbdbm.py b/Lib/dumbdbm.py index 4e426f1..1475361 100644 --- a/Lib/dumbdbm.py +++ b/Lib/dumbdbm.py @@ -39,7 +39,7 @@ class _Database(UserDict.DictMixin): # gets called. One place _commit() gets called is from __del__(), # and if that occurs at program shutdown time, module globals may # 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. _os = _os # for _commit() _open = _open # for _commit() @@ -42,7 +42,7 @@ Library on-disk data and directory files can be left in mutually inconsistent states. dumbdbm.py's _Database.__del__() method attempted to close 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 has been repaired. |