]> granicus.if.org Git - python/commitdiff
Fix typos
authorRaymond Hettinger <python@rcn.com>
Fri, 4 Nov 2011 21:05:52 +0000 (14:05 -0700)
committerRaymond Hettinger <python@rcn.com>
Fri, 4 Nov 2011 21:05:52 +0000 (14:05 -0700)
Doc/library/shelve.rst

index cc2c1f08ad74e605bf487283d98da46d55d4738d..de12420137a7836923b26d09e3240ef73e401612 100644 (file)
@@ -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