Searched refs:Dict_type (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Python/ |
D | Python-ast.c | 186 static PyTypeObject *Dict_type; variable 752 Dict_type = make_type("Dict", expr_type, Dict_fields, 2); in init_types() 753 if (!Dict_type) return 0; in init_types() 2657 result = PyType_GenericNew(Dict_type, NULL, NULL); in ast2obj_expr() 5054 isinstance = PyObject_IsInstance(obj, (PyObject*)Dict_type); in obj2ast_expr() 6826 if (PyDict_SetItemString(d, "Dict", (PyObject*)Dict_type) < 0) return; in init_ast()
|
/external/python/cpython3/Python/ |
D | Python-ast.c | 225 static PyTypeObject *Dict_type; variable 923 Dict_type = make_type("Dict", expr_type, Dict_fields, 2); in init_types() 924 if (!Dict_type) return 0; in init_types() 3137 result = PyType_GenericNew(Dict_type, NULL, NULL); in ast2obj_expr() 6018 isinstance = PyObject_IsInstance(obj, (PyObject*)Dict_type); in obj2ast_expr() 8228 if (PyDict_SetItemString(d, "Dict", (PyObject*)Dict_type) < 0) return NULL; in PyInit__ast()
|