summaryrefslogtreecommitdiffstats
path: root/Modules/_io/stringio.c
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-04-19 04:03:41 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-04-19 04:03:41 (GMT)
commit8f26565ba9e3d32f6c953b04c1b9f9d13c2e1818 (patch)
tree6ed1a5aaa6ede819ec672beae759c18f6d428121 /Modules/_io/stringio.c
parent0d88c652318c4c5eed77fd2e78e9e955ffa5c8d1 (diff)
downloadcpython-8f26565ba9e3d32f6c953b04c1b9f9d13c2e1818.zip
cpython-8f26565ba9e3d32f6c953b04c1b9f9d13c2e1818.tar.gz
cpython-8f26565ba9e3d32f6c953b04c1b9f9d13c2e1818.tar.bz2
Fix spelling (inital), grammar (may translates) in documentation, comments
Diffstat (limited to 'Modules/_io/stringio.c')
-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 73018a5..06b4144 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. */