Lines Matching defs:nargs
121 math_ldexp(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
127 if (!_PyArg_CheckPositional("ldexp", nargs, 2, 2)) {
259 math_fmod(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
265 if (!_PyArg_CheckPositional("fmod", nargs, 2, 2)) {
313 math_dist(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
319 if (!_PyArg_CheckPositional("dist", nargs, 2, 2)) {
343 math_pow(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
349 if (!_PyArg_CheckPositional("pow", nargs, 2, 2)) {
578 math_isclose(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
584 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 2;
591 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 2, 2, 0, argsbuf);
673 math_prod(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
679 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
683 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 1, 0, argsbuf);
721 math_perm(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
727 if (!_PyArg_CheckPositional("perm", nargs, 1, 2)) {
731 if (nargs < 2) {
765 math_comb(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
771 if (!_PyArg_CheckPositional("comb", nargs, 2, 2)) {
795 math_nextafter(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
801 if (!_PyArg_CheckPositional("nextafter", nargs, 2, 2)) {