Searched refs:Tuple_type (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Python/ |
D | Python-ast.c | 268 static PyTypeObject *Tuple_type; variable 785 Tuple_type = make_type("Tuple", expr_type, Tuple_fields, 2); in init_types() 786 if (!Tuple_type) return 0; in init_types() 2901 result = PyType_GenericNew(Tuple_type, NULL, NULL); in ast2obj_expr() 5860 isinstance = PyObject_IsInstance(obj, (PyObject*)Tuple_type); in obj2ast_expr() 6849 if (PyDict_SetItemString(d, "Tuple", (PyObject*)Tuple_type) < 0) return; in init_ast()
|
/external/python/cpython3/Python/ |
D | Python-ast.c | 353 static PyTypeObject *Tuple_type; variable 974 Tuple_type = make_type("Tuple", expr_type, Tuple_fields, 2); in init_types() 975 if (!Tuple_type) return 0; in init_types() 3450 result = PyType_GenericNew(Tuple_type, NULL, NULL); in ast2obj_expr() 7068 isinstance = PyObject_IsInstance(obj, (PyObject*)Tuple_type); in obj2ast_expr() 8269 if (PyDict_SetItemString(d, "Tuple", (PyObject*)Tuple_type) < 0) return in PyInit__ast()
|