Searched refs:ClassDef_type (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Python/ |
D | Python-ast.c | 47 static PyTypeObject *ClassDef_type; variable 693 ClassDef_type = make_type("ClassDef", stmt_type, ClassDef_fields, 4); in init_types() 694 if (!ClassDef_type) return 0; in init_types() 2226 result = PyType_GenericNew(ClassDef_type, NULL, NULL); in ast2obj_stmt() 3616 isinstance = PyObject_IsInstance(obj, (PyObject*)ClassDef_type); in obj2ast_stmt() 6783 if (PyDict_SetItemString(d, "ClassDef", (PyObject*)ClassDef_type) < 0) in init_ast()
|
/external/python/cpython3/Python/ |
D | Python-ast.c | 56 static PyTypeObject *ClassDef_type; variable 864 ClassDef_type = make_type("ClassDef", stmt_type, ClassDef_fields, 5); in init_types() 865 if (!ClassDef_type) return 0; in init_types() 2692 result = PyType_GenericNew(ClassDef_type, NULL, NULL); in ast2obj_stmt() 4376 isinstance = PyObject_IsInstance(obj, (PyObject*)ClassDef_type); in obj2ast_stmt() 8177 if (PyDict_SetItemString(d, "ClassDef", (PyObject*)ClassDef_type) < 0) in PyInit__ast()
|