Home
last modified time | relevance | path

Searched refs:Num_type (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Python/
DPython-ast.c238 static PyTypeObject *Num_type; variable
773 Num_type = make_type("Num", expr_type, Num_fields, 1); in init_types()
774 if (!Num_type) return 0; in init_types()
2817 result = PyType_GenericNew(Num_type, NULL, NULL); in ast2obj_expr()
5627 isinstance = PyObject_IsInstance(obj, (PyObject*)Num_type); in obj2ast_expr()
6841 if (PyDict_SetItemString(d, "Num", (PyObject*)Num_type) < 0) return; in init_ast()
/external/python/cpython3/Python/
DPython-ast.c287 static PyTypeObject *Num_type; variable
946 Num_type = make_type("Num", expr_type, Num_fields, 1); in init_types()
947 if (!Num_type) return 0; in init_types()
3293 result = PyType_GenericNew(Num_type, NULL, NULL); in ast2obj_expr()
6609 isinstance = PyObject_IsInstance(obj, (PyObject*)Num_type); in obj2ast_expr()
8247 if (PyDict_SetItemString(d, "Num", (PyObject*)Num_type) < 0) return NULL; in PyInit__ast()