python: apply const method annotations to impls.

This commit is contained in:
Jacob Oursland
2025-04-16 20:29:19 -07:00
parent 605c094884
commit 5b81cd741a
69 changed files with 508 additions and 515 deletions

View File

@@ -57,7 +57,7 @@ Py::Long PersistencePy::getMemSize() const
return Py::Long((long)getPersistencePtr()->getMemSize());
}
PyObject* PersistencePy::dumpContent(PyObject* args, PyObject* kwds)
PyObject* PersistencePy::dumpContent(PyObject* args, PyObject* kwds) const
{
int compression = 3;
static const std::array<const char*, 2> kwds_def {"Compression", nullptr};