summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-01-31 05:17:33 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-01-31 05:17:33 (GMT)
commit2adbb83a24f38719c44dc92046957730eb47cd4f (patch)
tree59ca07ce6bfef232045ee630a8742df67c591730 /Doc
parent8cd0def10dc028e3522a04bd136c67f92f90da04 (diff)
downloadcpython-2adbb83a24f38719c44dc92046957730eb47cd4f.zip
cpython-2adbb83a24f38719c44dc92046957730eb47cd4f.tar.gz
cpython-2adbb83a24f38719c44dc92046957730eb47cd4f.tar.bz2
SF bug #671447: StringIO doc doesn't say it's sometimes read-only.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libstringio.tex5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/lib/libstringio.tex b/Doc/lib/libstringio.tex
index 9279a3f2..c268690 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: