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

@@ -35,7 +35,7 @@ std::string StringIDPy::representation() const
return getStringIDPtr()->toString(this->_index);
}
PyObject* StringIDPy::isSame(PyObject* args)
PyObject* StringIDPy::isSame(PyObject* args) const
{
PyObject* other = nullptr;
if (!PyArg_ParseTuple(args, "O!", &StringIDPy::Type, &other)) {