Skip to content

Commit a892331

Browse files
committed
Update documentation to reflect change to PyBuffer_FromContiguous
1 parent 704fde7 commit a892331

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
@@ -501,10 +501,10 @@ Buffer-related functions
501501
*indices* must point to an array of ``view->ndim`` indices.
502502
503503
504-
.. c:function:: int PyBuffer_FromContiguous(const Py_buffer *view, const void *buf, Py_ssize_t len, char fort)
504+
.. c:function:: int PyBuffer_FromContiguous(const Py_buffer *view, const void *buf, Py_ssize_t len, char order)
505505
506506
Copy contiguous *len* bytes from *buf* to *view*.
507-
*fort* can be ``'C'`` or ``'F'`` (for C-style or Fortran-style ordering).
507+
*order* can be ``'C'`` or ``'F'`` (for C-style or Fortran-style ordering).
508508
``0`` is returned on success, ``-1`` on error.
509509
510510

0 commit comments

Comments
 (0)