Lines Matching refs:fastargs
33 PyObject * const *fastargs; in func_new() local
42 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 2, 5… in func_new()
43 if (!fastargs) { in func_new()
46 if (!PyObject_TypeCheck(fastargs[0], &PyCode_Type)) { in func_new()
47 _PyArg_BadArgument("function", "argument 'code'", (&PyCode_Type)->tp_name, fastargs[0]); in func_new()
50 code = (PyCodeObject *)fastargs[0]; in func_new()
51 if (!PyDict_Check(fastargs[1])) { in func_new()
52 _PyArg_BadArgument("function", "argument 'globals'", "dict", fastargs[1]); in func_new()
55 globals = fastargs[1]; in func_new()
59 if (fastargs[2]) { in func_new()
60 name = fastargs[2]; in func_new()
65 if (fastargs[3]) { in func_new()
66 defaults = fastargs[3]; in func_new()
71 closure = fastargs[4]; in func_new()