[docs] [issue31754] Documented type of parameter 'itemsize' to PyBuffer_FillContiguousStrides is incorrect.

Robert Snoeberger report at bugs.python.org
Tue Oct 10 20:18:47 EDT 2017


New submission from Robert Snoeberger <robert.snoeberger at me.com>:

The signature for PyBuffer_FillContiguousStrides in the documentation shows that the type of parameter 'itemsize' is Py_ssize_t [1]. This is different from the signature in Include/abstract.h which shows that the type as int [2].


[1] https://docs.python.org/3/c-api/buffer.html#c.PyBuffer_FillContiguousStrides
[2] https://github.com/python/cpython/blob/49b2734bf12dc1cda80fd73d3ec8896ae3e362f2/Include/abstract.h#L559-L563

----------
assignee: docs at python
components: Documentation
messages: 304096
nosy: docs at python, snoeberger
priority: normal
severity: normal
status: open
title: Documented type of parameter 'itemsize' to PyBuffer_FillContiguousStrides is incorrect.
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31754>
_______________________________________


More information about the docs mailing list