From 0320464583957258031ebee1b8897343211e4339 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Sun, 13 Jul 2003 02:37:05 +0000 Subject: [PATCH] Repaired typos in comments. --- Lib/dumbdbm.py | 2 +- Misc/NEWS | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/dumbdbm.py b/Lib/dumbdbm.py index 4e426f1c532..1475361f2f9 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 1098ad31731..0f329dfe3e3 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.