[Python-Dev] [Python-checkins] cpython (2.7): Inline the advisory text on how to use the shelve module. (original) (raw)

Eric V. Smith eric at trueblade.com
Fri Nov 4 21:34:30 CET 2011


On 11/4/2011 4:25 PM, Ezio Melotti wrote:

On 04/11/2011 22.21, Eric V. Smith wrote:

On 11/4/2011 4:08 PM, raymond.hettinger wrote:

- .. note:: + Like file objects, shelve objects should closed explicitly to assure + that the peristent data is flushed to disk. Missing "be" there, I think: "should be closed". Eric. And on the next line it should be 'persistent'.

And I'd argue that it should be "ensure" instead of "assure": you "ensure" an event occurs, you "assure" a person that it does. But it's a nit I wouldn't normally object to. Ezio is just making me re-read the sentence!

Eric.



More information about the Python-Dev mailing list