Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libstringio.tex @ 28002:77bef6aa48e5 2.2
Backport 1.7: Clarify when a read-only object is created.
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Fri, 21 Feb 2003 04:22:47 +0000 |
| parents | 33b4357aebb8 |
| children | 2c6f92cddbad |
line wrap: on
line diff
--- a/Doc/lib/libstringio.tex Fri Feb 21 04:18:32 2003 +0000 +++ b/Doc/lib/libstringio.tex Fri Feb 21 04:22:47 2003 +0000 @@ -59,6 +59,11 @@ 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:
