summaryrefslogtreecommitdiff
path: root/Lib/io.py
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2009-07-02 15:37:21 +0000
committerJesus Cea <jcea@jcea.es>2009-07-02 15:37:21 +0000
commit585ad8ae5e352c99bbd87955c64cc9a0654da8c3 (patch)
tree98c559aa59ba10d42e6383626b33433343e6b4fc /Lib/io.py
parentb73effab2828b244d2b91d466f7a89df94a6c036 (diff)
downloadcpython-git-585ad8ae5e352c99bbd87955c64cc9a0654da8c3.tar.gz
Merged revisions 69846 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r69846 | mark.dickinson | 2009-02-21 21:27:01 +0100 (Sat, 21 Feb 2009) | 2 lines 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 72f7d8c5ea..03c867638f 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.