diff options
Diffstat (limited to 'Modules/clinic/unicodedata.c.h')
-rw-r--r-- | Modules/clinic/unicodedata.c.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/Modules/clinic/unicodedata.c.h b/Modules/clinic/unicodedata.c.h index c3a5910..50b1ee2 100644 --- a/Modules/clinic/unicodedata.c.h +++ b/Modules/clinic/unicodedata.c.h @@ -26,12 +26,12 @@ unicodedata_UCD_decimal(PyObject *self, PyObject **args, Py_ssize_t nargs, PyObj int chr; PyObject *default_value = NULL; - if (!_PyArg_ParseStack(args, nargs, "C|O:decimal", - &chr, &default_value)) { + if (!_PyArg_NoStackKeywords("decimal", kwnames)) { goto exit; } - if (!_PyArg_NoStackKeywords("decimal", kwnames)) { + if (!_PyArg_ParseStack(args, nargs, "C|O:decimal", + &chr, &default_value)) { goto exit; } return_value = unicodedata_UCD_decimal_impl(self, chr, default_value); @@ -63,12 +63,12 @@ unicodedata_UCD_digit(PyObject *self, PyObject **args, Py_ssize_t nargs, PyObjec int chr; PyObject *default_value = NULL; - if (!_PyArg_ParseStack(args, nargs, "C|O:digit", - &chr, &default_value)) { + if (!_PyArg_NoStackKeywords("digit", kwnames)) { goto exit; } - if (!_PyArg_NoStackKeywords("digit", kwnames)) { + if (!_PyArg_ParseStack(args, nargs, "C|O:digit", + &chr, &default_value)) { goto exit; } return_value = unicodedata_UCD_digit_impl(self, chr, default_value); @@ -101,12 +101,12 @@ unicodedata_UCD_numeric(PyObject *self, PyObject **args, Py_ssize_t nargs, PyObj int chr; PyObject *default_value = NULL; - if (!_PyArg_ParseStack(args, nargs, "C|O:numeric", - &chr, &default_value)) { + if (!_PyArg_NoStackKeywords("numeric", kwnames)) { goto exit; } - if (!_PyArg_NoStackKeywords("numeric", kwnames)) { + if (!_PyArg_ParseStack(args, nargs, "C|O:numeric", + &chr, &default_value)) { goto exit; } return_value = unicodedata_UCD_numeric_impl(self, chr, default_value); @@ -318,12 +318,12 @@ unicodedata_UCD_normalize(PyObject *self, PyObject **args, Py_ssize_t nargs, PyO const char *form; PyObject *input; - if (!_PyArg_ParseStack(args, nargs, "sU:normalize", - &form, &input)) { + if (!_PyArg_NoStackKeywords("normalize", kwnames)) { goto exit; } - if (!_PyArg_NoStackKeywords("normalize", kwnames)) { + if (!_PyArg_ParseStack(args, nargs, "sU:normalize", + &form, &input)) { goto exit; } return_value = unicodedata_UCD_normalize_impl(self, form, input); @@ -354,12 +354,12 @@ unicodedata_UCD_name(PyObject *self, PyObject **args, Py_ssize_t nargs, PyObject int chr; PyObject *default_value = NULL; - if (!_PyArg_ParseStack(args, nargs, "C|O:name", - &chr, &default_value)) { + if (!_PyArg_NoStackKeywords("name", kwnames)) { goto exit; } - if (!_PyArg_NoStackKeywords("name", kwnames)) { + if (!_PyArg_ParseStack(args, nargs, "C|O:name", + &chr, &default_value)) { goto exit; } return_value = unicodedata_UCD_name_impl(self, chr, default_value); @@ -399,4 +399,4 @@ unicodedata_UCD_lookup(PyObject *self, PyObject *arg) exit: return return_value; } -/*[clinic end generated code: output=fcb86aaa3fa40876 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=f69c0bbd7294870b input=a9049054013a1b77]*/ |