mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Fixed compilation on Windows for issue #20173.
This commit is contained in:
parent
bedbf96e84
commit
1aa5e1d63e
1 changed files with 1 additions and 1 deletions
|
@ -644,7 +644,7 @@ _codecs_code_page_decode_impl(PyModuleDef *module, int codepage,
|
|||
/*[clinic end generated code: output=4318e3d9971e31ba input=4f3152a304e21d51]*/
|
||||
{
|
||||
Py_ssize_t consumed = data->len;
|
||||
PyObject *decoded = PyUnicode_DecodeCodePageStateful(code_page,
|
||||
PyObject *decoded = PyUnicode_DecodeCodePageStateful(codepage,
|
||||
data->buf, data->len,
|
||||
errors,
|
||||
final ? NULL : &consumed);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue