Home
last modified time | relevance | path

Searched refs:Global_type (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Python/
DPython-ast.c142 static PyTypeObject *Global_type; variable
729 Global_type = make_type("Global", stmt_type, Global_fields, 1); in init_types()
730 if (!Global_type) return 0; in init_types()
2518 result = PyType_GenericNew(Global_type, NULL, NULL); in ast2obj_stmt()
4692 isinstance = PyObject_IsInstance(obj, (PyObject*)Global_type); in obj2ast_stmt()
6810 if (PyDict_SetItemString(d, "Global", (PyObject*)Global_type) < 0) in init_ast()
/external/python/cpython3/Python/
DPython-ast.c173 static PyTypeObject *Global_type; variable
898 Global_type = make_type("Global", stmt_type, Global_fields, 1); in init_types()
899 if (!Global_type) return 0; in init_types()
2990 result = PyType_GenericNew(Global_type, NULL, NULL); in ast2obj_stmt()
5601 isinstance = PyObject_IsInstance(obj, (PyObject*)Global_type); in obj2ast_stmt()
8207 if (PyDict_SetItemString(d, "Global", (PyObject*)Global_type) < 0) return in PyInit__ast()