Searched refs:show_fn (Results 1 – 1 of 1) sorted by relevance
559 PyObject *show_fn, *msg, *res, *warnmsg_cls = NULL; in call_show_warning() local566 show_fn = get_warnings_attr(&PyId__showwarnmsg, source != NULL); in call_show_warning()567 if (show_fn == NULL) { in call_show_warning()574 if (!PyCallable_Check(show_fn)) { in call_show_warning()596 res = PyObject_CallOneArg(show_fn, msg); in call_show_warning()597 Py_DECREF(show_fn); in call_show_warning()607 Py_XDECREF(show_fn); in call_show_warning()