summaryrefslogtreecommitdiffstats
path: root/Modules/_io
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2015-10-07 10:26:23 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2015-10-07 10:26:23 (GMT)
commit9955a373a8ae5a3ac9108afc436199277fdedff7 (patch)
tree3610b83bda6f7b3731ee7790579874c0bde14ae0 /Modules/_io
parent85b8f45515a08afd75ca38b3760defabd219a632 (diff)
downloadcpython-9955a373a8ae5a3ac9108afc436199277fdedff7.zip
cpython-9955a373a8ae5a3ac9108afc436199277fdedff7.tar.gz
cpython-9955a373a8ae5a3ac9108afc436199277fdedff7.tar.bz2
Various minor typos in documentation and comments
Diffstat (limited to 'Modules/_io')
-rw-r--r--Modules/_io/stringio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_io/stringio.c b/Modules/_io/stringio.c
index 9d73884..95fb703 100644
--- a/Modules/_io/stringio.c
+++ b/Modules/_io/stringio.c
@@ -711,7 +711,7 @@ stringio_init(stringio *self, PyObject *args, PyObject *kwds)
/* If newline == "", we don't translate anything.
If newline == "\n" or newline == None, we translate to "\n", which is
a no-op.
- (for newline == None, TextIOWrapper translates to os.sepline, but it
+ (for newline == None, TextIOWrapper translates to os.linesep, but it
is pointless for StringIO)
*/
if (newline != NULL && newline[0] == '\r') {