Lines Matching defs:nargs

17 update_bases(PyObject *bases, PyObject *const *args, Py_ssize_t nargs)
23 for (i = 0; i < nargs; i++) {
91 builtin___build_class__(PyObject *self, PyObject *const *args, Py_ssize_t nargs,
99 if (nargs < 2) {
116 orig_bases = _PyTuple_FromArray(args + 2, nargs - 2);
120 bases = update_bases(orig_bases, args + 2, nargs - 2);
131 mkw = _PyStack_AsDict(args + nargs, kwnames);
458 builtin_breakpoint(PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *keywords)
472 PyObject *retval = PyObject_Vectorcall(hook, args, nargs, keywords);
532 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
533 if (!_PyArg_CheckPositional("filter", nargs, 2, 2)) {
1117 builtin_getattr(PyObject *self, PyObject *const *args, Py_ssize_t nargs)
1121 if (!_PyArg_CheckPositional("getattr", nargs, 2, 3))
1126 if (nargs > 2) {
1291 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
1292 if (nargs < 2) {
1298 PyObject *iters = PyTuple_New(nargs-1);
1303 for (int i=1; i<nargs; i++) {
1360 Py_ssize_t nargs = 0;
1368 nargs++;
1371 result = _PyObject_VectorcallTstate(tstate, lz->func, stack, nargs, NULL);
1374 for (Py_ssize_t i=0; i < nargs; i++) {
1462 builtin_next(PyObject *self, PyObject *const *args, Py_ssize_t nargs)
1466 if (!_PyArg_CheckPositional("next", nargs, 1, 2))
1480 } else if (nargs > 1) {
1597 builtin_iter(PyObject *self, PyObject *const *args, Py_ssize_t nargs)
1601 if (!_PyArg_CheckPositional("iter", nargs, 1, 2))
1604 if (nargs == 1)
2373 builtin_sorted(PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
2379 if (!_PyArg_UnpackStack(args, nargs, "sorted", 1, 1, &seq))
2392 assert(nargs >= 1);
2393 v = PyObject_Vectorcall(callable, args + 1, nargs - 1, kwnames);