diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-23 12:12:25 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-23 12:12:25 (GMT) |
commit | f8d7d41507d8c0855b58c9be14011381d03c5cde (patch) | |
tree | 1a38be5e64aaf4c64a7581f209548818926cdb0f /Modules/clinic | |
parent | 8c9331057d0f5c75cd3e73f3f85fe237da0f9ed1 (diff) | |
download | cpython-f8d7d41507d8c0855b58c9be14011381d03c5cde.zip cpython-f8d7d41507d8c0855b58c9be14011381d03c5cde.tar.gz cpython-f8d7d41507d8c0855b58c9be14011381d03c5cde.tar.bz2 |
Issue #28511: Use the "U" format instead of "O!" in PyArg_Parse*.
Diffstat (limited to 'Modules/clinic')
-rw-r--r-- | Modules/clinic/unicodedata.c.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/clinic/unicodedata.c.h b/Modules/clinic/unicodedata.c.h index d481ccb..e8a73b9 100644 --- a/Modules/clinic/unicodedata.c.h +++ b/Modules/clinic/unicodedata.c.h @@ -306,8 +306,8 @@ unicodedata_UCD_normalize(PyObject *self, PyObject *args) const char *form; PyObject *input; - if (!PyArg_ParseTuple(args, "sO!:normalize", - &form, &PyUnicode_Type, &input)) { + if (!PyArg_ParseTuple(args, "sU:normalize", + &form, &input)) { goto exit; } return_value = unicodedata_UCD_normalize_impl(self, form, input); @@ -379,4 +379,4 @@ unicodedata_UCD_lookup(PyObject *self, PyObject *arg) exit: return return_value; } -/*[clinic end generated code: output=5313ce129da87b2f input=a9049054013a1b77]*/ +/*[clinic end generated code: output=07e93c267323a576 input=a9049054013a1b77]*/ |