Searched refs:Set_type (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Python/ |
D | Python-ast.c | 191 static PyTypeObject *Set_type; variable 754 Set_type = make_type("Set", expr_type, Set_fields, 1); in init_types() 755 if (!Set_type) return 0; in init_types() 2671 result = PyType_GenericNew(Set_type, NULL, NULL); in ast2obj_expr() 5124 isinstance = PyObject_IsInstance(obj, (PyObject*)Set_type); in obj2ast_expr() 6827 if (PyDict_SetItemString(d, "Set", (PyObject*)Set_type) < 0) return; in init_ast()
|
/external/python/cpython3/Python/ |
D | Python-ast.c | 231 static PyTypeObject *Set_type; variable 925 Set_type = make_type("Set", expr_type, Set_fields, 1); in init_types() 926 if (!Set_type) return 0; in init_types() 3151 result = PyType_GenericNew(Set_type, NULL, NULL); in ast2obj_expr() 6090 isinstance = PyObject_IsInstance(obj, (PyObject*)Set_type); in obj2ast_expr() 8229 if (PyDict_SetItemString(d, "Set", (PyObject*)Set_type) < 0) return NULL; in PyInit__ast()
|