Home
last modified time | relevance | path

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

/external/python/cpython3/Python/
DPython-ast.c1203 PyObject *ClassDef_annotations = PyDict_New(); in add_ast_annotations() local
1204 if (!ClassDef_annotations) return 0; in add_ast_annotations()
1208 cond = PyDict_SetItemString(ClassDef_annotations, "name", type) == 0; in add_ast_annotations()
1211 Py_DECREF(ClassDef_annotations); in add_ast_annotations()
1220 Py_DECREF(ClassDef_annotations); in add_ast_annotations()
1223 cond = PyDict_SetItemString(ClassDef_annotations, "bases", type) == 0; in add_ast_annotations()
1226 Py_DECREF(ClassDef_annotations); in add_ast_annotations()
1235 Py_DECREF(ClassDef_annotations); in add_ast_annotations()
1238 cond = PyDict_SetItemString(ClassDef_annotations, "keywords", type) == in add_ast_annotations()
1242 Py_DECREF(ClassDef_annotations); in add_ast_annotations()
[all …]