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

@@ -48,7 +48,7 @@ int GeomFormatPy::PyInit(PyObject* /*args*/, PyObject* /*kwd*/)
return 0;
}
PyObject* GeomFormatPy::clone(PyObject *args)
PyObject* GeomFormatPy::clone(PyObject *args) const
{
if (!PyArg_ParseTuple(args, ""))
return nullptr;
@@ -75,7 +75,7 @@ PyObject* GeomFormatPy::clone(PyObject *args)
return cpy;
}
PyObject* GeomFormatPy::copy(PyObject *args)
PyObject* GeomFormatPy::copy(PyObject *args) const
{
if (!PyArg_ParseTuple(args, ""))
return nullptr;