Lines Matching defs:arg
1296 Py_ssize_t arg;
1303 arg = PyDict_GET_SIZE(dict);
1304 v = PyLong_FromSsize_t(arg);
1315 arg = PyLong_AsLong(v);
1316 return arg;
1437 Py_ssize_t arg = compiler_add_o(c->u->u_consts, key);
1439 return arg;
1445 Py_ssize_t arg = compiler_add_const(c, o);
1446 if (arg < 0)
1448 return compiler_addop_i(c, LOAD_CONST, arg);
1455 Py_ssize_t arg = compiler_add_o(dict, o);
1456 if (arg < 0)
1458 return compiler_addop_i(c, opcode, arg);
1465 Py_ssize_t arg;
1470 arg = compiler_add_o(dict, mangled);
1472 if (arg < 0)
1474 return compiler_addop_i(c, opcode, arg);
2281 int arg;
2283 arg = compiler_lookup_arg(c->u->u_cellvars, name);
2286 arg = compiler_lookup_arg(c->u->u_freevars, name);
2288 if (arg == -1) {
2304 ADDOP_I(c, LOAD_CLOSURE, arg);
2362 arg_ty arg = asdl_seq_GET(kwonlyargs, i);
2365 PyObject *mangled = _Py_Mangle(c->u->u_private, arg->arg);
2455 arg_ty arg = (arg_ty)asdl_seq_GET(args, i);
2458 arg->arg,
2459 arg->annotation,
2470 /* Push arg annotation names and values.
2482 !compiler_visit_argannotation(c, args->vararg->arg,
2488 !compiler_visit_argannotation(c, args->kwarg->arg,
2551 compiler_check_debug_one_arg(struct compiler *c, arg_ty arg)
2553 if (arg != NULL) {
2554 if (forbidden_name(c, arg->arg, Store))
2709 <func> is a zero arg function/closure created from the class body.
4251 Py_ssize_t arg;
4334 arg = compiler_add_o(dict, mangled);
4336 if (arg < 0) {
4340 arg <<= 1;
4342 return compiler_addop_i(c, op, arg);
4884 if (kw->arg == NULL) {
4914 if (key->arg == NULL) {
4917 if (forbidden_name(c, key->arg, Store)) {
4922 if (other->arg && !PyUnicode_Compare(key->arg, other->arg)) {
4924 compiler_error(c, "keyword argument repeated: %U", key->arg);
5015 /* Evaluate the format spec, and update our opcode arg. */
5044 key = ((keyword_ty) asdl_seq_GET(keywords, i))->arg;
5057 ADDOP_LOAD_CONST(c, kw->arg);
5085 Py_INCREF(kw->arg);
5086 PyTuple_SET_ITEM(names, i, kw->arg);
5088 Py_ssize_t arg = compiler_add_const(c, names);
5089 if (arg < 0) {
5093 ADDOP_I(c, KW_NAMES, arg);
5125 if (kw->arg == NULL) {
5164 if (kw->arg == NULL) {
6539 // Any errors will point to the pattern rather than the arg name as the
7188 "compiler stack_effect(opcode=%d, arg=%i) failed",
7944 // For now we do not distinguish arg kinds.
8084 char arg[128];
8086 *arg = '\0';
8088 sprintf(arg, "arg: %d ", i->i_oparg);
8091 i->i_lineno, i->i_opcode, arg, jabs, jrel);
8216 // adjust for arg cells, which come first.
8304 // First deal with duplicates (arg cells).
8311 // It was a duplicate (cell/arg).
8557 int arg = inst[i].i_oparg;
8558 PyObject *constant = get_const_value(op, arg, consts);