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

This commit is contained in:
Benjamin Peterson 2008-11-30 03:07:33 +00:00
parent 2a1fd05971
commit 4f21f985eb
1 changed files with 2 additions and 1 deletions

View File

@ -37,7 +37,8 @@ The following methods of :class:`StringIO` objects require special mention:
.. 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::