8000 gh-99593: Add tests for Unicode C API (part 3) by serhiy-storchaka · Pull Request #104728 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-99593: Add tests for Unicode C API (part 3) #104728

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix buld on Windows.
  • Loading branch information
serhiy-storchaka committed May 22, 2023
commit 8ae2fb8bee404c17a1a4ba89611299d191cc6ec7
2 changes: 1 addition & 1 deletion Modules/_testcapi/unicode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,7 @@ unicode_decodecodepagestateful(PyObject *self, PyObject *args)
if (!PyArg_ParseTuple(args, "iy#|z", &code_page, &data, &size, &errors))
return NULL;

result = PyUnicode_DecodeCodePageStateful(data, size, errors, &consumed);
result = PyUnicode_DecodeCodePageStateful(code_page, data, size, errors, &consumed);
if (!result) {
return NULL;
}
Expand Down
0