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.c56 create_filter(PyObject *category, _Py_Identifier *id, const char *modname) in create_filter() function
98 create_filter(PyExc_DeprecationWarning, &PyId_default, "__main__")); in init_filters()
100 create_filter(PyExc_DeprecationWarning, &PyId_ignore, NULL)); in init_filters()
102 create_filter(PyExc_PendingDeprecationWarning, &PyId_ignore, NULL)); in init_filters()
104 create_filter(PyExc_ImportWarning, &PyId_ignore, NULL)); in init_filters()
106 create_filter(PyExc_ResourceWarning, &PyId_ignore, NULL)); in init_filters()