Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libstringio.tex @ 34900:dad2b6204974 2.4
SF bug #1180392: StringIO's docs should mention overwriting of initial value
* Added a note that the initial file position is zero even if the object
is freshly initialized.
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Mon, 11 Apr 2005 01:04:32 +0000 |
| parents | f7a05ab50d3b |
| children | 61c0fe48376a |
line wrap: on
line diff
--- a/Doc/lib/libstringio.tex Sun Apr 10 17:36:26 2005 +0000 +++ b/Doc/lib/libstringio.tex Mon Apr 11 01:04:32 2005 +0000 @@ -14,6 +14,7 @@ When a \class{StringIO} object is created, it can be initialized to an existing string by passing the string to the constructor. If no string is given, the \class{StringIO} will start empty. +In both cases, the initial file position starts at zero. The \class{StringIO} object can accept either Unicode or 8-bit strings, but mixing the two may take some care. If both are used,
