]> granicus.if.org Git - python/commitdiff
Repaired typos in comments.
authorTim Peters <tim.peters@gmail.com>
Sun, 13 Jul 2003 02:37:05 +0000 (02:37 +0000)
committerTim Peters <tim.peters@gmail.com>
Sun, 13 Jul 2003 02:37:05 +0000 (02:37 +0000)
Lib/dumbdbm.py
Misc/NEWS

index 4e426f1c53249a5c1c7de91a5d5e31a6c4e39237..1475361f2f924204a4e55b1c4a5e8808b683bb27 100644 (file)
@@ -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()
index 1098ad31731239415a3808740fe69990d829a9bd..0f329dfe3e399e64d81ad819259d1f88d2722db2 100644 (file)
--- 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.