mirror of
https://github.com/python/cpython.git
synced 2025-07-28 05:34:31 +00:00
Issue #5341: Fix a variety of spelling errors.
This commit is contained in:
parent
a12a86e956
commit
3e4caeb3bf
56 changed files with 93 additions and 93 deletions
|
@ -4,7 +4,7 @@ builtin open function is defined in this module.
|
|||
|
||||
At the top of the I/O hierarchy is the abstract base class IOBase. It
|
||||
defines the basic interface to a stream. Note, however, that there is no
|
||||
seperation between reading and writing to streams; implementations are
|
||||
separation between reading and writing to streams; implementations are
|
||||
allowed to throw an IOError if they do not support a given operation.
|
||||
|
||||
Extending IOBase is RawIOBase which deals simply with the reading and
|
||||
|
@ -1374,7 +1374,7 @@ class TextIOWrapper(TextIOBase):
|
|||
enabled. With this enabled, on input, the lines endings '\n', '\r',
|
||||
or '\r\n' are translated to '\n' before being returned to the
|
||||
caller. Conversely, on output, '\n' is translated to the system
|
||||
default line seperator, os.linesep. If newline is any other of its
|
||||
default line separator, os.linesep. If newline is any other of its
|
||||
legal values, that newline becomes the newline when the file is read
|
||||
and it is returned untranslated. On output, '\n' is converted to the
|
||||
newline.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue