Lines Matching defs:arg
171 Py_CLEAR(state->arg);
282 if ((state->arg = PyUnicode_InternFromString("arg")) == NULL) return 0;
368 GENERATE_ASDL_SEQ_CONSTRUCTOR(arg, arg_ty)
679 "arg",
691 "arg",
780 ast_traverse(AST_object *self, visitproc visit, void *arg)
1726 "arguments(arg* posonlyargs, arg* args, arg? vararg, arg* kwonlyargs, expr* kw_defaults, arg? kwarg, expr* defaults)");
1733 state->arg_type = make_type(state, "arg", state->AST_type, arg_fields, 3,
1734 "arg(identifier arg, expr? annotation, string? type_comment)");
1747 "keyword(identifier? arg, expr value)");
1751 if (PyObject_SetAttr(state->keyword_type, state->arg, Py_None) == -1)
3325 _PyAST_arg(identifier arg, expr_ty annotation, string type_comment, int lineno,
3329 if (!arg) {
3331 "field 'arg' is required for arg");
3337 p->arg = arg;
3348 _PyAST_keyword(identifier arg, expr_ty value, int lineno, int col_offset, int
3360 p->arg = arg;
5044 value = ast2obj_identifier(state, o->arg);
5046 if (PyObject_SetAttr(result, state->arg, value) == -1)
5104 value = ast2obj_identifier(state, o->arg);
5106 if (PyObject_SetAttr(result, state->arg, value) == -1)
10740 identifier arg;
10748 if (_PyObject_LookupAttr(obj, state->arg, &tmp) < 0) {
10752 PyErr_SetString(PyExc_TypeError, "required field \"arg\" missing from arg");
10757 if (_Py_EnterRecursiveCall(" while traversing 'arg' node")) {
10760 res = obj2ast_identifier(state, tmp, &arg, arena);
10774 if (_Py_EnterRecursiveCall(" while traversing 'arg' node")) {
10791 if (_Py_EnterRecursiveCall(" while traversing 'arg' node")) {
10803 PyErr_SetString(PyExc_TypeError, "required field \"lineno\" missing from arg");
10808 if (_Py_EnterRecursiveCall(" while traversing 'arg' node")) {
10820 PyErr_SetString(PyExc_TypeError, "required field \"col_offset\" missing from arg");
10825 if (_Py_EnterRecursiveCall(" while traversing 'arg' node")) {
10842 if (_Py_EnterRecursiveCall(" while traversing 'arg' node")) {
10859 if (_Py_EnterRecursiveCall(" while traversing 'arg' node")) {
10867 *out = _PyAST_arg(arg, annotation, type_comment, lineno, col_offset,
10880 identifier arg;
10887 if (_PyObject_LookupAttr(obj, state->arg, &tmp) < 0) {
10892 arg = NULL;
10899 res = obj2ast_identifier(state, tmp, &arg, arena);
10989 *out = _PyAST_keyword(arg, value, lineno, col_offset, end_lineno,
12237 if (PyModule_AddObjectRef(m, "arg", state->arg_type) < 0) {