Do not use Py_ssize_clean_t (GH-25940)

This commit is contained in:
Inada Naoki 2021-05-08 10:17:37 +09:00 committed by GitHub
parent 092f9ddb5e
commit 4d4be47705
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 46 additions and 56 deletions

View file

@ -1389,8 +1389,8 @@ corresponding character. If not found, KeyError is raised.
static PyObject *
unicodedata_UCD_lookup_impl(PyObject *self, const char *name,
Py_ssize_clean_t name_length)
/*[clinic end generated code: output=765cb8186788e6be input=a557be0f8607a0d6]*/
Py_ssize_t name_length)
/*[clinic end generated code: output=7f03fc4959b242f6 input=a557be0f8607a0d6]*/
{
Py_UCS4 code;
unsigned int index;