mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
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.
This commit is contained in:
parent
228b8e88bc
commit
387c575d5c
2 changed files with 6 additions and 6 deletions
|
@ -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 @@
|
||||||
\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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue