python: apply const method annotations to impls.

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

View File

@@ -54,8 +54,7 @@ int StringHasherPy::PyInit(PyObject* args, PyObject* kwds)
return 0;
}
PyObject* StringHasherPy::isSame(PyObject* args)
PyObject* StringHasherPy::isSame(PyObject* args) const
{
PyObject* other;
if (!PyArg_ParseTuple(args, "O!", &StringHasherPy::Type, &other)) {