mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
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
This commit is contained in:
parent
b71c0956d0
commit
536d70ed33
6 changed files with 11 additions and 11 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue