]> granicus.if.org Git - python/commitdiff
Fix typo “seperator”
authorÉric Araujo <merwok@netwok.org>
Sun, 26 Feb 2012 00:41:39 +0000 (01:41 +0100)
committerÉric Araujo <merwok@netwok.org>
Sun, 26 Feb 2012 00:41:39 +0000 (01:41 +0100)
Lib/_pyio.py
Modules/_io/_iomodule.c
Modules/_io/textio.c

index 34d0c4c3509fe4e20d7aa9d910636a3595597aeb..d5114338fad37808883881cd63658569fd3da36a 100644 (file)
@@ -1451,7 +1451,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.
index 6d7121c2d9088bd407271475ed229ed54e30ef06..e356ea58df2f26d5bc8a689c07f729b6e072c9a9 100644 (file)
@@ -58,7 +58,7 @@ PyDoc_STRVAR(module_doc,
 "\n"
 "At the top of the I/O hierarchy is the abstract base class IOBase. It\n"
 "defines the basic interface to a stream. Note, however, that there is no\n"
-"seperation between reading and writing to streams; implementations are\n"
+"separation between reading and writing to streams; implementations are\n"
 "allowed to throw an IOError if they do not support a given operation.\n"
 "\n"
 "Extending IOBase is RawIOBase which deals simply with the reading and\n"
index c5d7b85a47503ea068da6432a6a6a890f54db75e..1878312835e67d88af7c1b02075db25ee66ae103 100644 (file)
@@ -627,7 +627,7 @@ PyDoc_STRVAR(textiowrapper_doc,
     "enabled.  With this enabled, on input, the lines endings '\\n', '\\r',\n"
     "or '\\r\\n' are translated to '\\n' before being returned to the\n"
     "caller. Conversely, on output, '\\n' is translated to the system\n"
-    "default line seperator, os.linesep. If newline is any other of its\n"
+    "default line separator, os.linesep. If newline is any other of its\n"
     "legal values, that newline becomes the newline when the file is read\n"
     "and it is returned untranslated. On output, '\\n' is converted to the\n"
     "newline.\n"