Home
last modified time | relevance | path

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

/external/python/cpython2/Python/
D_warnings.c404 PyObject *show_fxn = get_warnings_attr("showwarning"); in warn_explicit() local
405 if (show_fxn == NULL) { in warn_explicit()
413 if (!PyMethod_Check(show_fxn) && !PyFunction_Check(show_fxn)) { in warn_explicit()
417 Py_DECREF(show_fxn); in warn_explicit()
421 res = PyObject_CallFunctionObjArgs(show_fxn, message, category, in warn_explicit()
424 Py_DECREF(show_fxn); in warn_explicit()