Skip to content

Commit 6b06c63

Browse files
committed
Update documentation to reflect change to PyBuffer_FromContiguous
1 parent fcfc584 commit 6b06c63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/c-api/buffer.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,10 +505,10 @@ Buffer-related functions
505505
*indices* must point to an array of ``view->ndim`` indices.
506506
507507
508-
.. c:function:: int PyBuffer_FromContiguous(const Py_buffer *view, const void *buf, Py_ssize_t len, char fort)
508+
.. c:function:: int PyBuffer_FromContiguous(const Py_buffer *view, const void *buf, Py_ssize_t len, char order)
509509
510510
Copy contiguous *len* bytes from *buf* to *view*.
511-
*fort* can be ``'C'`` or ``'F'`` (for C-style or Fortran-style ordering).
511+
*order* can be ``'C'`` or ``'F'`` (for C-style or Fortran-style ordering).
512512
``0`` is returned on success, ``-1`` on error.
513513
514514

0 commit comments

Comments
 (0)