Searched defs:ann_dict (Results 1 - 2 of 2) sorted by relevance
/external/python/cpython3/Python/ |
H A D | pylifecycle.c | 941 PyObject *m, *d, *loader, *ann_dict; local 946 ann_dict = PyDict_New(); 947 if ((ann_dict == NULL) || 948 (PyDict_SetItemString(d, "__annotations__", ann_dict) < 0)) { 951 Py_DECREF(ann_dict);
|
H A D | ceval.c | 1738 PyObject *ann_dict; local 1750 ann_dict = _PyDict_GetItemId(f->f_locals, 1752 if (ann_dict == NULL) { 1758 Py_INCREF(ann_dict); 1766 ann_dict = PyObject_GetItem(f->f_locals, ann_str); 1767 if (ann_dict == NULL) { 1777 if (PyDict_CheckExact(ann_dict)) { 1778 err = PyDict_SetItem(ann_dict, name, ann); 1781 err = PyObject_SetItem(ann_dict, name, ann); 1783 Py_DECREF(ann_dict); 2635 PyObject *ann_dict; local [all...] |
Completed in 109 milliseconds