Commit 737a0e48 authored by Fred Drake's avatar Fred Drake

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.
parent a1332fa2
...@@ -3,12 +3,12 @@ ...@@ -3,12 +3,12 @@
\stmodindex{StringIO} \stmodindex{StringIO}
This module implements a file-like class, \code{StringIO}, This module implements a file-like class, \code{StringIO},
that read and write a string buffer (also known as {\em memory that reads and writes a string buffer (also known as {\em memory
files}). See the description on file objects for operations. files}). See the description on file objects for operations.
When a \code{StringIO} object is created, it can be initialized When a \code{StringIO} object is created, it can be initialized
to an existing string by passing the string to the constructor. to an existing string by passing the string to the constructor.
If no string is given, the \code{StringIO} will start empty. If no string is given, the \code{StringIO} will start empty.
The method \code{getvalue()} can be called at any time to return the The method \code{getvalue()} can be called to retrieve the
contents of the entire ``file'' at any time. entire contents of the ``file'' at any time.
...@@ -3,12 +3,12 @@ ...@@ -3,12 +3,12 @@
\stmodindex{StringIO} \stmodindex{StringIO}
This module implements a file-like class, \code{StringIO}, This module implements a file-like class, \code{StringIO},
that read and write a string buffer (also known as {\em memory that reads and writes a string buffer (also known as {\em memory
files}). See the description on file objects for operations. files}). See the description on file objects for operations.
When a \code{StringIO} object is created, it can be initialized When a \code{StringIO} object is created, it can be initialized
to an existing string by passing the string to the constructor. to an existing string by passing the string to the constructor.
If no string is given, the \code{StringIO} will start empty. If no string is given, the \code{StringIO} will start empty.
The method \code{getvalue()} can be called at any time to return the The method \code{getvalue()} can be called to retrieve the
contents of the entire ``file'' at any time. entire contents of the ``file'' at any time.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment