summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-04-19 23:23:16 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-04-19 23:23:16 (GMT)
commitabe4d52a1a175b784a5ccae6f31638fb9bf7bfe4 (patch)
treeb39ac1a830a308cc000244bccfd70d41468268b3 /Modules
parentf8d6f73f264f2adefdd87c03bebb66a069ead393 (diff)
parent8f26565ba9e3d32f6c953b04c1b9f9d13c2e1818 (diff)
downloadcpython-abe4d52a1a175b784a5ccae6f31638fb9bf7bfe4.zip
cpython-abe4d52a1a175b784a5ccae6f31638fb9bf7bfe4.tar.gz
cpython-abe4d52a1a175b784a5ccae6f31638fb9bf7bfe4.tar.bz2
Merge doc and comment fixes from 3.5
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_io/stringio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_io/stringio.c b/Modules/_io/stringio.c
index e856e2b..ecf6dc1 100644
--- a/Modules/_io/stringio.c
+++ b/Modules/_io/stringio.c
@@ -913,8 +913,8 @@ stringio_setstate(stringio *self, PyObject *state)
Py_DECREF(initarg);
/* Restore the buffer state. Even if __init__ did initialize the buffer,
- we have to initialize it again since __init__ may translates the
- newlines in the inital_value string. We clearly do not want that
+ we have to initialize it again since __init__ may translate the
+ newlines in the initial_value string. We clearly do not want that
because the string value in the state tuple has already been translated
once by __init__. So we do not take any chance and replace object's
buffer completely. */