Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
D_ssl.c378 PyObject *err_value = NULL, *reason_obj = NULL, *lib_obj = NULL; in fill_and_set_sslerror() local
389 reason_obj = PyDict_GetItem(err_codes_to_names, key); in fill_and_set_sslerror()
391 if (reason_obj == NULL) { in fill_and_set_sslerror()
409 if (reason_obj && lib_obj) in fill_and_set_sslerror()
411 lib_obj, reason_obj, errstr, lineno); in fill_and_set_sslerror()
429 if (reason_obj == NULL) in fill_and_set_sslerror()
430 reason_obj = Py_None; in fill_and_set_sslerror()
431 if (PyObject_SetAttrString(err_value, "reason", reason_obj)) in fill_and_set_sslerror()