RE: Correct use of Wrapped_ParseTupleAndKeywords

This commit is contained in:
Chris Hennes
2023-09-01 15:49:02 -05:00
committed by wwmayer
parent c1bd68d8a5
commit f6fee05f82
2 changed files with 25 additions and 25 deletions

View File

@@ -62,7 +62,7 @@ PyObject* PersistencePy::dumpContent(PyObject *args, PyObject *kwds)
int compression = 3;
static const std::array<const char *, 2> kwds_def {"Compression", nullptr};
PyErr_Clear();
if (!Wrapped_ParseTupleAndKeywords(args, kwds, "|i", kwds_def, &compression)) {
if (!Base::Wrapped_ParseTupleAndKeywords(args, kwds, "|i", kwds_def, &compression)) {
return nullptr;
}