From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 27 Aug 2025 13:53:39 +0000 (+0200) Subject: [3.14] GH-132775: Fix argument parsing for ``_interpqueues.put()`` (GH-137686) (... X-Git-Tag: v3.14.0rc3~128 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6c2d42f3f23848f8527fb9d2db737ee419433895;p=thirdparty%2FPython%2Fcpython.git [3.14] GH-132775: Fix argument parsing for ``_interpqueues.put()`` (GH-137686) (#138034) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> --- diff --git a/Modules/_interpqueuesmodule.c b/Modules/_interpqueuesmodule.c index e5afe746f90b..03ed081efbae 100644 --- a/Modules/_interpqueuesmodule.c +++ b/Modules/_interpqueuesmodule.c @@ -1603,7 +1603,7 @@ queuesmod_put(PyObject *self, PyObject *args, PyObject *kwds) PyObject *obj; int unboundarg = -1; int fallbackarg = -1; - if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&O|ii$p:put", kwlist, + if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&O|ii:put", kwlist, qidarg_converter, &qidarg, &obj, &unboundarg, &fallbackarg)) {