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

2011-11-04 Thread Eric V. Smith
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.

___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


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

2011-11-04 Thread Ezio Melotti

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'.

Best Regards,
Ezio Melotti
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


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

2011-11-04 Thread Eric V. Smith
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.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com