Lines Matching refs:optional_vars
235 Py_CLEAR(state->optional_vars); in _PyAST_Fini()
334 if ((state->optional_vars = PyUnicode_InternFromString("optional_vars")) == NULL) return 0; in init_identifiers()
1763 if (PyObject_SetAttr(state->withitem_type, state->optional_vars, Py_None) in init_types()
3355 _PyAST_withitem(expr_ty context_expr, expr_ty optional_vars, PyArena *arena) in _PyAST_withitem() argument
3367 p->optional_vars = optional_vars; in _PyAST_withitem()
5095 value = ast2obj_expr(state, o->optional_vars); in ast2obj_withitem()
5097 if (PyObject_SetAttr(result, state->optional_vars, value) == -1) in ast2obj_withitem()
10818 expr_ty optional_vars; in obj2ast_withitem() local
10837 if (_PyObject_LookupAttr(obj, state->optional_vars, &tmp) < 0) { in obj2ast_withitem()
10842 optional_vars = NULL; in obj2ast_withitem()
10849 res = obj2ast_expr(state, tmp, &optional_vars, arena); in obj2ast_withitem()
10854 *out = _PyAST_withitem(context_expr, optional_vars, arena); in obj2ast_withitem()