[Python-checkins] r67445 - python/trunk/Doc/library/stringio.rst

benjamin.peterson python-checkins at python.org
Sun Nov 30 04:07:33 CET 2008


Author: benjamin.peterson
Date: Sun Nov 30 04:07:33 2008
New Revision: 67445

Log:
StringIO.close() stops you from using the buffer, too

Modified:
   python/trunk/Doc/library/stringio.rst

Modified: python/trunk/Doc/library/stringio.rst
==============================================================================
--- python/trunk/Doc/library/stringio.rst	(original)
+++ python/trunk/Doc/library/stringio.rst	Sun Nov 30 04:07:33 2008
@@ -37,7 +37,8 @@
 
 .. method:: StringIO.close()
 
-   Free the memory buffer.
+   Free the memory buffer.  Attempting to do further operations with a closed
+   :class:`StringIO` object will raise a :exc:`ValueError`.
 
 Example usage::
 


More information about the Python-checkins mailing list