diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-11-30 03:07:33 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-11-30 03:07:33 (GMT) |
commit | 4f21f985eb09026faa11b7d9580d309c17c05373 (patch) | |
tree | 0f9237a3668773b7c483a53a6d943d891d8612db | |
parent | 2a1fd059717e480de852f05750e1c892567d4c3b (diff) | |
download | cpython-4f21f985eb09026faa11b7d9580d309c17c05373.zip cpython-4f21f985eb09026faa11b7d9580d309c17c05373.tar.gz cpython-4f21f985eb09026faa11b7d9580d309c17c05373.tar.bz2 |
StringIO.close() stops you from using the buffer, too
-rw-r--r-- | Doc/library/stringio.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/stringio.rst b/Doc/library/stringio.rst index 4736fc3..19e1547 100644 --- a/Doc/library/stringio.rst +++ b/Doc/library/stringio.rst @@ -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:: |