Home
last modified time | relevance | path

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

/external/python/cpython2/Python/
D_warnings.c801 create_filter(PyObject *category, const char *action) in create_filter() function
862 create_filter(PyExc_DeprecationWarning, "ignore")); in init_filters()
865 create_filter(PyExc_PendingDeprecationWarning, "ignore")); in init_filters()
867 create_filter(PyExc_ImportWarning, "ignore")); in init_filters()
874 PyList_SET_ITEM(filters, pos++, create_filter(PyExc_BytesWarning, in init_filters()
/external/python/cpython3/Python/
D_warnings.c1232 create_filter(PyObject *category, _Py_Identifier *id, const char *modname) in create_filter() function
1272 create_filter(PyExc_DeprecationWarning, &PyId_default, "__main__")); in init_filters()
1274 create_filter(PyExc_DeprecationWarning, &PyId_ignore, NULL)); in init_filters()
1276 create_filter(PyExc_PendingDeprecationWarning, &PyId_ignore, NULL)); in init_filters()
1278 create_filter(PyExc_ImportWarning, &PyId_ignore, NULL)); in init_filters()
1280 create_filter(PyExc_ResourceWarning, &PyId_ignore, NULL)); in init_filters()