Searched refs:alias_type (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Python/ |
D | Python-ast.c | 490 static PyTypeObject *alias_type; variable 1160 alias_type = make_type("alias", &AST_type, alias_fields, 2); in init_types() 1161 if (!alias_type) return 0; in init_types() 1162 if (!add_attributes(alias_type, NULL, 0)) return 0; in init_types() 3894 result = PyType_GenericNew(alias_type, NULL, NULL); in ast2obj_alias() 8350 if (PyDict_SetItemString(d, "alias", (PyObject*)alias_type) < 0) return in PyInit__ast()
|
/external/python/cpython2/Python/ |
D | Python-ast.c | 379 static PyTypeObject *alias_type; variable 963 alias_type = make_type("alias", &AST_type, alias_fields, 2); in init_types() 964 if (!alias_type) return 0; in init_types() 3299 result = PyType_GenericNew(alias_type, NULL, NULL); in ast2obj_alias() 6918 if (PyDict_SetItemString(d, "alias", (PyObject*)alias_type) < 0) return; in init_ast()
|