Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
7f4b3be2
Commit
7f4b3be2
authored
Feb 26, 2012
by
Éric Araujo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo “seperator”
parent
a358bc3c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
Lib/_pyio.py
Lib/_pyio.py
+1
-1
Modules/_io/_iomodule.c
Modules/_io/_iomodule.c
+1
-1
Modules/_io/textio.c
Modules/_io/textio.c
+1
-1
No files found.
Lib/_pyio.py
View file @
7f4b3be2
...
@@ -1451,7 +1451,7 @@ class TextIOWrapper(TextIOBase):
...
@@ -1451,7 +1451,7 @@ class TextIOWrapper(TextIOBase):
enabled. With this enabled, on input, the lines endings '\n', '\r',
enabled. With this enabled, on input, the lines endings '\n', '\r',
or '\r\n' are translated to '\n' before being returned to the
or '\r\n' are translated to '\n' before being returned to the
caller. Conversely, on output, '\n' is translated to the system
caller. Conversely, on output, '\n' is translated to the system
default line sep
e
rator, os.linesep. If newline is any other of its
default line sep
a
rator, os.linesep. If newline is any other of its
legal values, that newline becomes the newline when the file is read
legal values, that newline becomes the newline when the file is read
and it is returned untranslated. On output, '\n' is converted to the
and it is returned untranslated. On output, '\n' is converted to the
newline.
newline.
...
...
Modules/_io/_iomodule.c
View file @
7f4b3be2
...
@@ -58,7 +58,7 @@ PyDoc_STRVAR(module_doc,
...
@@ -58,7 +58,7 @@ PyDoc_STRVAR(module_doc,
"
\n
"
"
\n
"
"At the top of the I/O hierarchy is the abstract base class IOBase. It
\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
"
"defines the basic interface to a stream. Note, however, that there is no
\n
"
"sep
e
ration between reading and writing to streams; implementations are
\n
"
"sep
a
ration between reading and writing to streams; implementations are
\n
"
"allowed to throw an IOError if they do not support a given operation.
\n
"
"allowed to throw an IOError if they do not support a given operation.
\n
"
"
\n
"
"
\n
"
"Extending IOBase is RawIOBase which deals simply with the reading and
\n
"
"Extending IOBase is RawIOBase which deals simply with the reading and
\n
"
...
...
Modules/_io/textio.c
View file @
7f4b3be2
...
@@ -627,7 +627,7 @@ PyDoc_STRVAR(textiowrapper_doc,
...
@@ -627,7 +627,7 @@ PyDoc_STRVAR(textiowrapper_doc,
"enabled. With this enabled, on input, the lines endings '
\\
n', '
\\
r',
\n
"
"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
"
"or '
\\
r
\\
n' are translated to '
\\
n' before being returned to the
\n
"
"caller. Conversely, on output, '
\\
n' is translated to the system
\n
"
"caller. Conversely, on output, '
\\
n' is translated to the system
\n
"
"default line sep
e
rator, os.linesep. If newline is any other of its
\n
"
"default line sep
a
rator, os.linesep. If newline is any other of its
\n
"
"legal values, that newline becomes the newline when the file is read
\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
"
"and it is returned untranslated. On output, '
\\
n' is converted to the
\n
"
"newline.
\n
"
"newline.
\n
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment