Home
last modified time | relevance | path

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

/external/python/cpython2/Python/
D_warnings.c113 PyObject *warnings_filters; in get_filter() local
115 warnings_filters = get_warnings_attr("filters"); in get_filter()
116 if (warnings_filters == NULL) { in get_filter()
122 _filters = warnings_filters; in get_filter()
/external/python/cpython3/Python/
D_warnings.c156 PyObject *warnings_filters; in get_filter() local
159 warnings_filters = get_warnings_attr(&PyId_filters, 0); in get_filter()
160 if (warnings_filters == NULL) { in get_filter()
165 Py_SETREF(_PyRuntime.warnings.filters, warnings_filters); in get_filter()