summaryrefslogtreecommitdiffstats
path: root/Modules/clinic/resource.c.h
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/clinic/resource.c.h')
-rw-r--r--Modules/clinic/resource.c.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/Modules/clinic/resource.c.h b/Modules/clinic/resource.c.h
index 7efdbe4..cb84512 100644
--- a/Modules/clinic/resource.c.h
+++ b/Modules/clinic/resource.c.h
@@ -66,16 +66,12 @@ static PyObject *
resource_setrlimit_impl(PyObject *module, int resource, PyObject *limits);
static PyObject *
-resource_setrlimit(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames)
+resource_setrlimit(PyObject *module, PyObject **args, Py_ssize_t nargs)
{
PyObject *return_value = NULL;
int resource;
PyObject *limits;
- if (!_PyArg_NoStackKeywords("setrlimit", kwnames)) {
- goto exit;
- }
-
if (!_PyArg_ParseStack(args, nargs, "iO:setrlimit",
&resource, &limits)) {
goto exit;
@@ -161,4 +157,4 @@ exit:
#ifndef RESOURCE_PRLIMIT_METHODDEF
#define RESOURCE_PRLIMIT_METHODDEF
#endif /* !defined(RESOURCE_PRLIMIT_METHODDEF) */
-/*[clinic end generated code: output=158aace6e532949e input=a9049054013a1b77]*/
+/*[clinic end generated code: output=d7dabf49ce5b767f input=a9049054013a1b77]*/