Lines Matching defs:nargs
421 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
427 PyObject *result = meth(PyCFunction_GET_SELF(func), args, nargs);
437 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
443 PyObject *result = meth(PyCFunction_GET_SELF(func), args, nargs, kwnames);
454 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
459 PyObject *result = meth(PyCFunction_GET_SELF(func), cls, args, nargs, kwnames);
472 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
473 if (nargs != 0) {
477 "%U takes no arguments (%zd given)", funcstr, nargs);
500 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
501 if (nargs != 1) {
505 "%U takes exactly one argument (%zd given)", funcstr, nargs);