summaryrefslogtreecommitdiffstats
path: root/Tools/unicode/genwincodec.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-10-10 01:03:53 (GMT)
committerGitHub <noreply@github.com>2022-10-10 01:03:53 (GMT)
commit4172e09c3a93f95874cccd3d008e9d036472d859 (patch)
tree214d68716dd6a3bea01388edbdf757947930b279 /Tools/unicode/genwincodec.py
parent6211bb2cf876a05c7b77239d4af39039b0459b8e (diff)
downloadcpython-4172e09c3a93f95874cccd3d008e9d036472d859.zip
cpython-4172e09c3a93f95874cccd3d008e9d036472d859.tar.gz
cpython-4172e09c3a93f95874cccd3d008e9d036472d859.tar.bz2
Fix types in buffer/memoryview docs (GH-98118)
The definition of obj in the `Py_buffer` struct is as a PyObject* https://github.com/python/cpython/blob/ec091bd47e2f968b0d1631b9a8104283a7beeb1b/Include/pybuffer.hGH-L22 PyMemoryView_GET_BASE returns `.obj` - thus its return type should be a PyObject* (or at least a void*). It definitely doesn't return `Py_buffer` (cherry picked from commit c459fedf7cfd5dadf72e088d789c7375b3a6e093) Co-authored-by: da-woods <dw-git@d-woods.co.uk>
Diffstat (limited to 'Tools/unicode/genwincodec.py')
0 files changed, 0 insertions, 0 deletions