mirror of https://github.com/python/cpython.git
Repaired typos in comments.
This commit is contained in:
parent
d7472ec13a
commit
0320464583
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue