From: Raymond Hettinger Date: Fri, 31 Jan 2003 05:17:33 +0000 (+0000) Subject: SF bug #671447: StringIO doc doesn't say it's sometimes read-only. X-Git-Tag: v2.3c1~2162 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2adbb83a24f38719c44dc92046957730eb47cd4f;p=thirdparty%2FPython%2Fcpython.git SF bug #671447: StringIO doc doesn't say it's sometimes read-only. --- diff --git a/Doc/lib/libstringio.tex b/Doc/lib/libstringio.tex index 9279a3f2d6c3..c268690ea0d5 100644 --- a/Doc/lib/libstringio.tex +++ b/Doc/lib/libstringio.tex @@ -59,6 +59,11 @@ Unlike the memory files implemented by the \refmodule{StringIO} module, those provided by this module are not able to accept Unicode strings that cannot be encoded as plain \ASCII{} strings. +Another difference from the \refmodule{StringIO} module is that calling +\function{StringIO()} with a string parameter creates a read-only object. +Unlike an object created without a string parameter, it does not have +write methods. + The following data objects are provided as well: