Home
last modified time | relevance | path

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

/external/python/cpython2/Python/
D_warnings.c398 PyObject *show_fxn = get_warnings_attr("showwarning"); in warn_explicit() local
399 if (show_fxn == NULL) { in warn_explicit()
407 if (!PyMethod_Check(show_fxn) && !PyFunction_Check(show_fxn)) { in warn_explicit()
411 Py_DECREF(show_fxn); in warn_explicit()
415 res = PyObject_CallFunctionObjArgs(show_fxn, message, category, in warn_explicit()
418 Py_DECREF(show_fxn); in warn_explicit()