StringIO.close() stops you from using the buffer, too
This commit is contained in:
parent
2a1fd05971
commit
4f21f985eb
|
@ -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::
|
||||
|
||||
|
|
Loading…
Reference in New Issue