[x] The PR title is formatted as: <Module or Topic>: <Action> <Summary> (see contributing guidelines)
This PR fixes a cython code generation warning with cython 3.0.10.
I checked that the generated C++ code is the same and that it's OK with a previous version of Cython (3.0.6).
Checklist:
<Module or Topic>: <Action> <Summary>
(see contributing guidelines)This PR fixes a cython code generation warning with cython 3.0.10. I checked that the generated C++ code is the same and that it's OK with a previous version of Cython (3.0.6).
closes #4105