diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-02-21 20:27:01 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-02-21 20:27:01 (GMT) |
commit | 3e4caeb3bf2b2579861e9f3379e3508fbb30549c (patch) | |
tree | 05385e9530059fe3608194b2e8d6f9e57d797220 /Doc/library/io.rst | |
parent | a12a86e956f949bd145cef247a95ed742386c70b (diff) | |
download | cpython-3e4caeb3bf2b2579861e9f3379e3508fbb30549c.zip cpython-3e4caeb3bf2b2579861e9f3379e3508fbb30549c.tar.gz cpython-3e4caeb3bf2b2579861e9f3379e3508fbb30549c.tar.bz2 |
Issue #5341: Fix a variety of spelling errors.
Diffstat (limited to 'Doc/library/io.rst')
-rw-r--r-- | Doc/library/io.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/io.rst b/Doc/library/io.rst index 204b204..fdacabb 100644 --- a/Doc/library/io.rst +++ b/Doc/library/io.rst @@ -14,7 +14,7 @@ builtin :func:`open` function is defined in this module. At the top of the I/O hierarchy is the abstract base class :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 allowed +separation between reading and writing to streams; implementations are allowed to throw an :exc:`IOError` if they do not support a given operation. Extending :class:`IOBase` is :class:`RawIOBase` which deals simply with the @@ -612,7 +612,7 @@ Text I/O is 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, :data:`os.linesep`. If *newline* is any other of its + default line separator, :data:`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*. |