Searched refs:For_type (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Python/ |
D | Python-ast.c | 79 static PyTypeObject *For_type; variable 705 For_type = make_type("For", stmt_type, For_fields, 4); in init_types() 706 if (!For_type) return 0; in init_types() 2322 result = PyType_GenericNew(For_type, NULL, NULL); in ast2obj_stmt() 3959 isinstance = PyObject_IsInstance(obj, (PyObject*)For_type); in obj2ast_stmt() 6794 if (PyDict_SetItemString(d, "For", (PyObject*)For_type) < 0) return; in init_ast()
|
/external/python/cpython3/Python/ |
D | Python-ast.c | 98 static PyTypeObject *For_type; variable 876 For_type = make_type("For", stmt_type, For_fields, 4); in init_types() 877 if (!For_type) return 0; in init_types() 2796 result = PyType_GenericNew(For_type, NULL, NULL); in ast2obj_stmt() 4764 isinstance = PyObject_IsInstance(obj, (PyObject*)For_type); in obj2ast_stmt() 8189 if (PyDict_SetItemString(d, "For", (PyObject*)For_type) < 0) return NULL; in PyInit__ast()
|