gh-137696: Rename 'fort' parameter to 'order' in PyBuffer_* functions
This PR updates the PyBuffer_FromContiguous function by renaming the fort parameter to order for clarity. The function's declaration in the header already uses order; this change updates all references in the implementation and documentation to match.
It also updates the declaration of the PyBuffer_IsContiguous function in the header by renaming fort to order. Its documentation and definition were already using order as the parameter name.
- Issue: gh-137696
📚 Documentation preview 📚: https://cpython-previews--137866.org.readthedocs.build/
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.
If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.
Please see https://github.com/python/cpython/issues/137696#issuecomment-3197359092 and change the functions (declarations and definitions) as well as the documentation so that all of them use 'order' instead of a mix of all. In addition, please sign the CLA.
Please see #137696 (comment)
Thanks for the review, @picnixz. The functions and documentation have been updated.
Let's push this forward @CarlosEduR @picnixz
Let's push this forward @CarlosEduR @picnixz
Can you review it again, @picnixz? I just merged main into this branch again to keep it up to date.
Thanks for the review, @picnixz