summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-04-19 04:03:41 +0000
committerMartin Panter <vadmium+py@gmail.com>2016-04-19 04:03:41 +0000
commitc0bab1805f6caae133e7796e61376d423c521853 (patch)
treeb58aed3ece9482238bbf57acb30c5d032c14ca9f /Modules
parentd9e75762ee1c96b7a00eed05de897a9ab69cc243 (diff)
downloadcpython-c0bab1805f6caae133e7796e61376d423c521853.tar.gz
Fix spelling (inital), grammar (may translates) in documentation, comments
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 73018a5390..06b4144578 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. */