X Tutup
Skip to content

Commit 1aa5e1d

Browse files
Fixed compilation on Windows for issue python#20173.
1 parent bedbf96 commit 1aa5e1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_codecsmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ _codecs_code_page_decode_impl(PyModuleDef *module, int codepage,
644644
/*[clinic end generated code: output=4318e3d9971e31ba input=4f3152a304e21d51]*/
645645
{
646646
Py_ssize_t consumed = data->len;
647-
PyObject *decoded = PyUnicode_DecodeCodePageStateful(code_page,
647+
PyObject *decoded = PyUnicode_DecodeCodePageStateful(codepage,
648648
data->buf, data->len,
649649
errors,
650650
final ? NULL : &consumed);

0 commit comments

Comments
 (0)
X Tutup