diff options
author | Raymond Hettinger <python@rcn.com> | 2003-02-21 04:22:47 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-02-21 04:22:47 (GMT) |
commit | 8b563c42976ba22f2962c651b111e753748bb06f (patch) | |
tree | 961187031f4d424e9133010adb8c1ef829c7a66e /Doc/lib | |
parent | b78e3dd94ec0958285768143a24d1cc0ed288068 (diff) | |
download | cpython-8b563c42976ba22f2962c651b111e753748bb06f.zip cpython-8b563c42976ba22f2962c651b111e753748bb06f.tar.gz cpython-8b563c42976ba22f2962c651b111e753748bb06f.tar.bz2 |
Backport 1.7: Clarify when a read-only object is created.
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/libstringio.tex | 5 |
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: |