Skip to content

Commit cb11807

Browse files
committed
use the same wording as PyBuffer_ToContiguous for the order parameter
1 parent 99cf757 commit cb11807

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Doc/c-api/buffer.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -509,10 +509,8 @@ Buffer-related functions
509509
510510
Copy contiguous *len* bytes from *buf* to *view*.
511511
512-
If *order* is ``'C'``, the data is copied in C-style order.
513-
If *order* is ``'F'``, the data is copied in Fortran-style order.
514-
If *order* is ``'A'``, either style may be used, whichever is more efficient.
515-
512+
*order* can be ``'C'`` or ``'F'`` or ``'A'`` (for C-style or Fortran-style
513+
ordering or either one).
516514
``0`` is returned on success, ``-1`` on error.
517515
518516

0 commit comments

Comments
 (0)