Searched refs:warnings_filters (Results 1 – 2 of 2) sorted by relevance
113 PyObject *warnings_filters; in get_filter() local115 warnings_filters = get_warnings_attr("filters"); in get_filter()116 if (warnings_filters == NULL) { in get_filter()122 _filters = warnings_filters; in get_filter()
156 PyObject *warnings_filters; in get_filter() local159 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()