This commit is contained in:
Kovid Goyal
2021-09-19 20:25:08 +05:30
parent 1036132838
commit b5c086aedb
3 changed files with 3 additions and 3 deletions

View File

@@ -127,7 +127,7 @@ begin_load_signature(PyObject *self UNUSED, PyObject *args UNUSED) {
static PyObject*
build_hash_table(PyObject *self UNUSED, PyObject *args) {
PyObject *sig_capsule;
if (!PyArg_ParseTuple(args, "O!y#|p", &PyCapsule_Type, &sig_capsule)) return NULL;
if (!PyArg_ParseTuple(args, "O!", &PyCapsule_Type, &sig_capsule)) return NULL;
GET_SIG_FROM_CAPSULE;
rs_result res = rs_build_hash_table(sig);
if (res != RS_DONE) {