From 5d19b9a1e809ee20ba4f26e4aa04922452d0f15f Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Fri, 4 Nov 2011 14:05:52 -0700 Subject: [PATCH] Fix typos --- Doc/library/shelve.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/shelve.rst b/Doc/library/shelve.rst index cc2c1f08ad..de12420137 100644 --- a/Doc/library/shelve.rst +++ b/Doc/library/shelve.rst @@ -44,8 +44,8 @@ lots of shared sub-objects. The keys are ordinary strings. determine which accessed entries are mutable, nor which ones were actually mutated). - Like file objects, shelve objects should closed explicitly to assure - that the peristent data is flushed to disk. + Like file objects, shelve objects should be closed explicitly to ensure + that the persistent data is flushed to disk. Since the :mod:`shelve` module stores objects using :mod:`pickle`, the same security precautions apply. Accordingly, you should avoid loading a shelf -- 2.50.0