Searched refs:warnmsg_cls (Results 1 – 1 of 1) sorted by relevance
418 PyObject *show_fn, *msg, *res, *warnmsg_cls = NULL; in call_show_warning() local439 warnmsg_cls = get_warnings_attr(&PyId_WarningMessage, 0); in call_show_warning()440 if (warnmsg_cls == NULL) { in call_show_warning()448 msg = PyObject_CallFunctionObjArgs(warnmsg_cls, message, category, in call_show_warning()451 Py_DECREF(warnmsg_cls); in call_show_warning()