Searched refs:If_type (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Python/ |
D | Python-ast.c | 92 static PyTypeObject *If_type; variable 709 If_type = make_type("If", stmt_type, If_fields, 3); in init_types() 710 if (!If_type) return 0; in init_types() 2365 result = PyType_GenericNew(If_type, NULL, NULL); in ast2obj_stmt() 4139 isinstance = PyObject_IsInstance(obj, (PyObject*)If_type); in obj2ast_stmt() 6796 if (PyDict_SetItemString(d, "If", (PyObject*)If_type) < 0) return; in init_ast()
|
/external/python/cpython3/Python/ |
D | Python-ast.c | 121 static PyTypeObject *If_type; variable 882 If_type = make_type("If", stmt_type, If_fields, 3); in init_types() 883 if (!If_type) return 0; in init_types() 2863 result = PyType_GenericNew(If_type, NULL, NULL); in ast2obj_stmt() 5050 isinstance = PyObject_IsInstance(obj, (PyObject*)If_type); in obj2ast_stmt() 8194 if (PyDict_SetItemString(d, "If", (PyObject*)If_type) < 0) return NULL; in PyInit__ast()
|