summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-11-04 21:05:52 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-11-04 21:05:52 (GMT)
commit5d19b9a1e809ee20ba4f26e4aa04922452d0f15f (patch)
tree53e7f444684fddc7a1b967bb9af08733fead92f4
parent2e2cc6f2f32b75cfa34dbfd7d30d6bea71941420 (diff)
downloadcpython-5d19b9a1e809ee20ba4f26e4aa04922452d0f15f.zip
cpython-5d19b9a1e809ee20ba4f26e4aa04922452d0f15f.tar.gz
cpython-5d19b9a1e809ee20ba4f26e4aa04922452d0f15f.tar.bz2
Fix typos
-rw-r--r--Doc/library/shelve.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/shelve.rst b/Doc/library/shelve.rst
index cc2c1f0..de12420 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