summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/dumbdbm.py2
-rw-r--r--Misc/NEWS2
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()
diff --git a/Misc/NEWS b/Misc/NEWS
index 1098ad3..0f329df 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.