cpython/Doc/libstrio.tex
Fred Drake 387c575d5c Small grammatical touchups:
Para. 1:  ...that reads and writes a string buffer...
			      ^		 ^

	Para. 3:  ...can be called at any time to retrieve the...
				  XXXXXXXXXXXX       ^^^^^
		  ...entire contents of the entire ``file'' ...
		     ^^^^^^^		   XXXXXXX

Guido, I hope I'm not stomping too far afield, but these seem pretty clear
to me.
1997-04-02 14:51:56 +00:00

15 lines
550 B
TeX

\section{Standard Module \sectcode{StringIO}}
\stmodindex{StringIO}
This module implements a file-like class, \code{StringIO},
that reads and writes a string buffer (also known as {\em memory
files}). See the description on file objects for operations.
When a \code{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 \code{StringIO} will start empty.
The method \code{getvalue()} can be called to retrieve the
entire contents of the ``file'' at any time.