Home
last modified time | relevance | path

Searched refs:Nonlocal (Results 1 - 5 of 5) sorted by relevance

/third_party/python/Include/internal/
H A Dpycore_ast.h326 } Nonlocal; member
/third_party/python/Python/
H A Dast.c906 ret = validate_nonempty_seq(stmt->v.Nonlocal.names, "names", "Nonlocal"); in validate_stmt()
H A Dsymtable.c1391 asdl_identifier_seq *seq = s->v.Nonlocal.names; in symtable_visit_stmt()
H A DPython-ast.c1155 " | Nonlocal(identifier* names)\n" in init_types()
1292 state->Nonlocal_type = make_type(state, "Nonlocal", state->stmt_type, in init_types()
1294 "Nonlocal(identifier* names)"); in init_types()
2502 p->v.Nonlocal.names = names; in _PyAST_Nonlocal()
4187 value = ast2obj_list(state, (asdl_seq*)o->v.Nonlocal.names, in ast2obj_stmt()
8030 PyErr_SetString(PyExc_TypeError, "required field \"names\" missing from Nonlocal"); in obj2ast_stmt()
8038 PyErr_Format(PyExc_TypeError, "Nonlocal field \"names\" must be a list, not a %.200s", _PyType_Name(Py_TYPE(tmp))); in obj2ast_stmt()
8048 if (_Py_EnterRecursiveCall(" while traversing 'Nonlocal' node")) { in obj2ast_stmt()
8056 PyErr_SetString(PyExc_RuntimeError, "Nonlocal field \"names\" changed size during iteration"); in obj2ast_stmt()
12009 if (PyModule_AddObjectRef(m, "Nonlocal", stat in astmodule_exec()
[all...]
/third_party/python/Lib/test/
H A Dtest_ast.py1503 self.stmt(ast.Nonlocal([]), "empty names on Nonlocal")

Completed in 23 milliseconds