diff options
author | Martin Panter <vadmium+py@gmail.com> | 2017-01-14 08:23:08 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2017-01-14 08:23:08 (GMT) |
commit | 536d70ed331c3192578b73b2b243bc1dbbd8ec2a (patch) | |
tree | a2a1ac1d395d2c4cb632c262df98968cc7ddb23f /Modules/_io | |
parent | b71c0956d0904cfdc271cd10d40385c730cf8bcb (diff) | |
download | cpython-536d70ed331c3192578b73b2b243bc1dbbd8ec2a.zip cpython-536d70ed331c3192578b73b2b243bc1dbbd8ec2a.tar.gz cpython-536d70ed331c3192578b73b2b243bc1dbbd8ec2a.tar.bz2 |
Fix grammar, typos and markup in documentation and code comments
* Indent versionchanged at method level, not class level
* Mark up ``--help`` to avoid generating an en dash
* Use forward slash in Unix command line with a dollar sign ($) prompt
Diffstat (limited to 'Modules/_io')
-rw-r--r-- | Modules/_io/textio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_io/textio.c b/Modules/_io/textio.c index 46c99b5..89b0798 100644 --- a/Modules/_io/textio.c +++ b/Modules/_io/textio.c @@ -1012,7 +1012,7 @@ _io_TextIOWrapper___init___impl(textio *self, PyObject *buffer, errors); if (self->encoder == NULL) goto error; - /* Get the normalized named of the codec */ + /* Get the normalized name of the codec */ res = _PyObject_GetAttrId(codec_info, &PyId_name); if (res == NULL) { if (PyErr_ExceptionMatches(PyExc_AttributeError)) |