mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Merge doc fixes from 3.6
This commit is contained in:
commit
446a498a63
17 changed files with 76 additions and 76 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