summaryrefslogtreecommitdiffstats
path: root/Python/clinic/marshal.c.h
diff options
context:
space:
mode:
Diffstat (limited to 'Python/clinic/marshal.c.h')
-rw-r--r--Python/clinic/marshal.c.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/Python/clinic/marshal.c.h b/Python/clinic/marshal.c.h
index 64504ba..a946635 100644
--- a/Python/clinic/marshal.c.h
+++ b/Python/clinic/marshal.c.h
@@ -27,17 +27,13 @@ marshal_dump_impl(PyObject *module, PyObject *value, PyObject *file,
int version);
static PyObject *
-marshal_dump(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames)
+marshal_dump(PyObject *module, PyObject **args, Py_ssize_t nargs)
{
PyObject *return_value = NULL;
PyObject *value;
PyObject *file;
int version = Py_MARSHAL_VERSION;
- if (!_PyArg_NoStackKeywords("dump", kwnames)) {
- goto exit;
- }
-
if (!_PyArg_ParseStack(args, nargs, "OO|i:dump",
&value, &file, &version)) {
goto exit;
@@ -88,16 +84,12 @@ static PyObject *
marshal_dumps_impl(PyObject *module, PyObject *value, int version);
static PyObject *
-marshal_dumps(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames)
+marshal_dumps(PyObject *module, PyObject **args, Py_ssize_t nargs)
{
PyObject *return_value = NULL;
PyObject *value;
int version = Py_MARSHAL_VERSION;
- if (!_PyArg_NoStackKeywords("dumps", kwnames)) {
- goto exit;
- }
-
if (!_PyArg_ParseStack(args, nargs, "O|i:dumps",
&value, &version)) {
goto exit;
@@ -142,4 +134,4 @@ exit:
return return_value;
}
-/*[clinic end generated code: output=7b147a648614af7e input=a9049054013a1b77]*/
+/*[clinic end generated code: output=15e284a34abfd26a input=a9049054013a1b77]*/