Kaydet (Commit) 9c5a8d4e authored tarafından Benjamin Peterson's avatar Benjamin Peterson

remove extra arguments in arg parsing format codes (closes #23875)

üst f29bc70b
......@@ -3645,7 +3645,7 @@ PySSL_enum_certificates(PyObject *self, PyObject *args, PyObject *kwds)
PyObject *keyusage = NULL, *cert = NULL, *enc = NULL, *tup = NULL;
PyObject *result = NULL;
if (!PyArg_ParseTupleAndKeywords(args, kwds, "s|s:enum_certificates",
if (!PyArg_ParseTupleAndKeywords(args, kwds, "s:enum_certificates",
kwlist, &store_name)) {
return NULL;
}
......@@ -3733,7 +3733,7 @@ PySSL_enum_crls(PyObject *self, PyObject *args, PyObject *kwds)
PyObject *crl = NULL, *enc = NULL, *tup = NULL;
PyObject *result = NULL;
if (!PyArg_ParseTupleAndKeywords(args, kwds, "s|s:enum_crls",
if (!PyArg_ParseTupleAndKeywords(args, kwds, "s:enum_crls",
kwlist, &store_name)) {
return NULL;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment