mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-97841: Add methoddef for _filters_mutated (gh-98115)
This commit is contained in:
parent
2d2e01aa4c
commit
a04656ec32
2 changed files with 26 additions and 4 deletions
19
Python/clinic/_warnings.c.h
generated
19
Python/clinic/_warnings.c.h
generated
|
@ -199,4 +199,21 @@ skip_optional_pos:
|
|||
exit:
|
||||
return return_value;
|
||||
}
|
||||
/*[clinic end generated code: output=2eac4fabc87a4d56 input=a9049054013a1b77]*/
|
||||
|
||||
PyDoc_STRVAR(warnings_filters_mutated__doc__,
|
||||
"_filters_mutated($module, /)\n"
|
||||
"--\n"
|
||||
"\n");
|
||||
|
||||
#define WARNINGS_FILTERS_MUTATED_METHODDEF \
|
||||
{"_filters_mutated", (PyCFunction)warnings_filters_mutated, METH_NOARGS, warnings_filters_mutated__doc__},
|
||||
|
||||
static PyObject *
|
||||
warnings_filters_mutated_impl(PyObject *module);
|
||||
|
||||
static PyObject *
|
||||
warnings_filters_mutated(PyObject *module, PyObject *Py_UNUSED(ignored))
|
||||
{
|
||||
return warnings_filters_mutated_impl(module);
|
||||
}
|
||||
/*[clinic end generated code: output=0d264d1ddfc37100 input=a9049054013a1b77]*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue