Fix incorrect and missing docstrings in pybuffer.h#152118
Fix incorrect and missing docstrings in pybuffer.h#152118AivazianArtur wants to merge 8 commits into
Conversation
|
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 |
|
Looks like something like typo, so no need for an issue |
|
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 |
|
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 |
|
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 |
|
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 |
|
Documentation-only change. No NEWS entry needed. No Issue needed. |
First of all this is a fix of docstring of PyBuffer_IsContiguous declaration - there were something about copying, not checking;
Then there are docstrings for other contiguous-related functions - PyBuffer_ToContiguous and PyBuffer_FromContiguous. I copypasted it straight from the descriptions of those methods in buffers.rst, but adapted a bit for docstring format and for them to be consistent with other docstrings in these file