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

@@ -400,7 +400,7 @@ PyObject* AttachEnginePy::getRefTypeInfo(PyObject* args)
} ATTACHERPY_STDCATCH_METH;
}
PyObject* AttachEnginePy::copy(PyObject* args)
PyObject* AttachEnginePy::copy(PyObject* args) const
{
if (!PyArg_ParseTuple(args, ""))
return nullptr;
@@ -408,7 +408,7 @@ PyObject* AttachEnginePy::copy(PyObject* args)
return new AttachEnginePy(this->getAttachEnginePtr()->copy());
}
PyObject* AttachEnginePy::calculateAttachedPlacement(PyObject* args)
PyObject* AttachEnginePy::calculateAttachedPlacement(PyObject* args) const
{
PyObject *pcObj;
if (!PyArg_ParseTuple(args, "O!", &(Base::PlacementPy::Type), &pcObj))
@@ -566,4 +566,3 @@ int AttachEnginePy::setCustomAttributes(const char*,PyObject*)
{
return 0;
}