summaryrefslogtreecommitdiff
path: root/Lib/io.py
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-02-21 20:27:01 +0000
committerMark Dickinson <dickinsm@gmail.com>2009-02-21 20:27:01 +0000
commit3e4caeb3bf2b2579861e9f3379e3508fbb30549c (patch)
tree05385e9530059fe3608194b2e8d6f9e57d797220 /Lib/io.py
parenta12a86e956f949bd145cef247a95ed742386c70b (diff)
downloadcpython-git-3e4caeb3bf2b2579861e9f3379e3508fbb30549c.tar.gz
Issue #5341: Fix a variety of spelling errors.
Diffstat (limited to 'Lib/io.py')
-rw-r--r--Lib/io.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/io.py b/Lib/io.py
index 320a4b9b5f..61206c427d 100644
--- a/Lib/io.py
+++ b/Lib/io.py
@@ -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.