Home
last modified time | relevance | path

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

/external/python/cpython2/Python/
DPython-ast.c323 static PyTypeObject *unaryop_type; variable
887 unaryop_type = make_type("unaryop", &AST_type, NULL, 0); in init_types()
888 if (!unaryop_type) return 0; in init_types()
889 if (!add_attributes(unaryop_type, NULL, 0)) return 0; in init_types()
890 Invert_type = make_type("Invert", unaryop_type, NULL, 0); in init_types()
894 Not_type = make_type("Not", unaryop_type, NULL, 0); in init_types()
898 UAdd_type = make_type("UAdd", unaryop_type, NULL, 0); in init_types()
902 USub_type = make_type("USub", unaryop_type, NULL, 0); in init_types()
6890 if (PyDict_SetItemString(d, "unaryop", (PyObject*)unaryop_type) < 0) in init_ast()
/external/python/cpython3/Python/
DPython-ast.c412 static PyTypeObject *unaryop_type; variable
1078 unaryop_type = make_type("unaryop", &AST_type, NULL, 0); in init_types()
1079 if (!unaryop_type) return 0; in init_types()
1080 if (!add_attributes(unaryop_type, NULL, 0)) return 0; in init_types()
1081 Invert_type = make_type("Invert", unaryop_type, NULL, 0); in init_types()
1085 Not_type = make_type("Not", unaryop_type, NULL, 0); in init_types()
1089 UAdd_type = make_type("UAdd", unaryop_type, NULL, 0); in init_types()
1093 USub_type = make_type("USub", unaryop_type, NULL, 0); in init_types()
8317 if (PyDict_SetItemString(d, "unaryop", (PyObject*)unaryop_type) < 0) return in PyInit__ast()