Commit 52241e8f authored by Lars Buitinck's avatar Lars Buitinck

typo in buffer protocol docs

parent be3382de
...@@ -93,7 +93,7 @@ It contains a pointer to the actual buffer in memory, ...@@ -93,7 +93,7 @@ It contains a pointer to the actual buffer in memory,
as well as metadata about the shape of the array and the strides as well as metadata about the shape of the array and the strides
(step sizes to get from one element or row to the next). (step sizes to get from one element or row to the next).
Its ``shape`` and ``strides`` members are pointers Its ``shape`` and ``strides`` members are pointers
that must be point to arrays of ``Py_ssize_t[ndim]``. that must point to arrays of type and size ``Py_ssize_t[ndim]``.
These arrays have to stay alive as long as any buffer views the data, These arrays have to stay alive as long as any buffer views the data,
so we store them on the ``Matrix`` object as members. so we store them on the ``Matrix`` object as members.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment