diff options
author | Dong-hee Na <donghee.na@python.org> | 2022-10-09 11:16:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-09 11:16:33 (GMT) |
commit | a04656ec32bd5f3684ea18b195f76000df4962eb (patch) | |
tree | 3bdc436cdaf14ee1d4c605d2e186f685966e4d60 /Python/clinic | |
parent | 2d2e01aa4cb72db8dabcd04e87f1e60b3597267e (diff) | |
download | cpython-a04656ec32bd5f3684ea18b195f76000df4962eb.zip cpython-a04656ec32bd5f3684ea18b195f76000df4962eb.tar.gz cpython-a04656ec32bd5f3684ea18b195f76000df4962eb.tar.bz2 |
gh-97841: Add methoddef for _filters_mutated (gh-98115)
Diffstat (limited to 'Python/clinic')
-rw-r--r-- | Python/clinic/_warnings.c.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/Python/clinic/_warnings.c.h b/Python/clinic/_warnings.c.h index 13ebbf4..8838a42 100644 --- a/Python/clinic/_warnings.c.h +++ b/Python/clinic/_warnings.c.h @@ -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]*/ |