Fix typo “seperator”
This commit is contained in:
parent
a358bc3ca2
commit
7f4b3be2cc
|
@ -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.
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue