]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-80064: Fix is_valid_wide_char() return type (#105099)
authorVictor Stinner <vstinner@python.org>
Tue, 30 May 2023 16:36:20 +0000 (18:36 +0200)
committerGitHub <noreply@github.com>
Tue, 30 May 2023 16:36:20 +0000 (18:36 +0200)
commit4b65d5638c607747e2f5b28ed1914e3c397b4097
tree6f1ffaff2c22159789c0aa776903fc12a33f2503
parent18cfc1eea569f0ce72ad403840c0e6cc5f81e1c2
gh-80064: Fix is_valid_wide_char() return type (#105099)

Return a classical int, rather than size_t. The size_t type was
kept from copied/pasted code related to mbstowcs().
Python/fileutils.c