There was an error while loading. Please reload this page.
1 parent bedbf96 commit 1aa5e1dCopy full SHA for 1aa5e1d
1 file changed
Modules/_codecsmodule.c
@@ -644,7 +644,7 @@ _codecs_code_page_decode_impl(PyModuleDef *module, int codepage,
644
/*[clinic end generated code: output=4318e3d9971e31ba input=4f3152a304e21d51]*/
645
{
646
Py_ssize_t consumed = data->len;
647
- PyObject *decoded = PyUnicode_DecodeCodePageStateful(code_page,
+ PyObject *decoded = PyUnicode_DecodeCodePageStateful(codepage,
648
data->buf, data->len,
649
errors,
650
final ? NULL : &consumed);
0 commit comments