Searched refs:Name_type (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Python/ |
D | Python-ast.c | 258 static PyTypeObject *Name_type; variable 781 Name_type = make_type("Name", expr_type, Name_fields, 2); in init_types() 782 if (!Name_type) return 0; in init_types() 2873 result = PyType_GenericNew(Name_type, NULL, NULL); in ast2obj_expr() 5771 isinstance = PyObject_IsInstance(obj, (PyObject*)Name_type); in obj2ast_expr() 6847 if (PyDict_SetItemString(d, "Name", (PyObject*)Name_type) < 0) return; in init_ast()
|
/external/python/cpython3/Python/ |
D | Python-ast.c | 342 static PyTypeObject *Name_type; variable 970 Name_type = make_type("Name", expr_type, Name_fields, 2); in init_types() 971 if (!Name_type) return 0; in init_types() 3422 result = PyType_GenericNew(Name_type, NULL, NULL); in ast2obj_expr() 6975 isinstance = PyObject_IsInstance(obj, (PyObject*)Name_type); in obj2ast_expr() 8267 if (PyDict_SetItemString(d, "Name", (PyObject*)Name_type) < 0) return NULL; in PyInit__ast()
|