summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-05-20 12:04:38 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-05-20 12:04:38 (GMT)
commit261d855fd6e67bfe04aaaabfaff27f091b6d008f (patch)
tree3f5dd50cf6bd2a0407260c7a3c92d44bb31e173f
parent4925cde1cc20fe559b9c1429a99bf9b1c17f7048 (diff)
downloadcpython-261d855fd6e67bfe04aaaabfaff27f091b6d008f.zip
cpython-261d855fd6e67bfe04aaaabfaff27f091b6d008f.tar.gz
cpython-261d855fd6e67bfe04aaaabfaff27f091b6d008f.tar.bz2
#12072: add missing parenthesis in the doc. Patch by Sandro Tosi.
-rw-r--r--Doc/c-api/buffer.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/buffer.rst b/Doc/c-api/buffer.rst
index 094f7f2..37866b7 100644
--- a/Doc/c-api/buffer.rst
+++ b/Doc/c-api/buffer.rst
@@ -316,7 +316,7 @@ Buffer-related functions
.. cfunction:: void PyBuffer_FillContiguousStrides(int ndim, Py_ssize_t *shape, Py_ssize_t *strides, Py_ssize_t itemsize, char fortran)
Fill the *strides* array with byte-strides of a contiguous (C-style if
- *fortran* is ``'C'`` or Fortran-style if *fortran* is ``'F'`` array of the
+ *fortran* is ``'C'`` or Fortran-style if *fortran* is ``'F'``) array of the
given shape with the given number of bytes per element.