Searched refs:UnaryOp_type (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Python/ |
D | Python-ast.c | 170 static PyTypeObject *UnaryOp_type; variable 746 UnaryOp_type = make_type("UnaryOp", expr_type, UnaryOp_fields, 2); in init_types() 747 if (!UnaryOp_type) return 0; in init_types() 2610 result = PyType_GenericNew(UnaryOp_type, NULL, NULL); in ast2obj_expr() 4933 isinstance = PyObject_IsInstance(obj, (PyObject*)UnaryOp_type); in obj2ast_expr() 6821 if (PyDict_SetItemString(d, "UnaryOp", (PyObject*)UnaryOp_type) < 0) in init_ast()
|
/external/python/cpython3/Python/ |
D | Python-ast.c | 208 static PyTypeObject *UnaryOp_type; variable 917 UnaryOp_type = make_type("UnaryOp", expr_type, UnaryOp_fields, 2); in init_types() 918 if (!UnaryOp_type) return 0; in init_types() 3090 result = PyType_GenericNew(UnaryOp_type, NULL, NULL); in ast2obj_expr() 5890 isinstance = PyObject_IsInstance(obj, (PyObject*)UnaryOp_type); in obj2ast_expr() 8222 if (PyDict_SetItemString(d, "UnaryOp", (PyObject*)UnaryOp_type) < 0) return in PyInit__ast()
|