Kaydet (Commit) 4f21f985 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

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

üst 2a1fd059
......@@ -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::
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment