mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
[3.11] gh-111942: Remove an extra incref in textiowrapper_change_encoding (#126542)
This commit is contained in:
parent
8c6885d636
commit
e33b6fccd3
1 changed files with 0 additions and 1 deletions
|
|
@ -1313,7 +1313,6 @@ textiowrapper_change_encoding(textio *self, PyObject *encoding,
|
|||
}
|
||||
Py_DECREF(codec_info);
|
||||
|
||||
Py_INCREF(errors);
|
||||
Py_SETREF(self->encoding, encoding);
|
||||
Py_SETREF(self->errors, errors);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue