]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
SF bug #1180392: StringIO's docs should mention overwriting of initial value
authorRaymond Hettinger <python@rcn.com>
Mon, 11 Apr 2005 01:04:32 +0000 (01:04 +0000)
committerRaymond Hettinger <python@rcn.com>
Mon, 11 Apr 2005 01:04:32 +0000 (01:04 +0000)
* Added a note that the initial file position is zero even if the object
  is freshly initialized.

Doc/lib/libstringio.tex

index 786427ffa685e1ac796318f864d08b19c792de60..3992e435e2c6934eab02b8210e613d25fc1efaad 100644 (file)
@@ -14,6 +14,7 @@ files}).  See the description of file objects for operations (section
 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,