diff --git a/doc/source/reference/c-api.array.rst b/doc/source/reference/c-api.array.rst index aba5f9caa86f..049c7b5379f1 100644 --- a/doc/source/reference/c-api.array.rst +++ b/doc/source/reference/c-api.array.rst @@ -421,7 +421,7 @@ From other objects Force a cast to the output type even if it cannot be done safely. Without this flag, a data cast will occur only if it - can be done safely, otherwise an error is reaised. + can be done safely, otherwise an error is raised. .. c:var:: NPY_ARRAY_UPDATEIFCOPY diff --git a/doc/source/reference/c-api.types-and-structures.rst b/doc/source/reference/c-api.types-and-structures.rst index c5165fef3c6f..38f1acb60105 100644 --- a/doc/source/reference/c-api.types-and-structures.rst +++ b/doc/source/reference/c-api.types-and-structures.rst @@ -871,8 +871,8 @@ PyArrayIter_Type .. c:member:: npy_intp *PyArrayIterObject.backstrides How many bytes needed to jump from the end of a dimension back - to its beginning. Note that *backstrides* [k]= *strides* [k]*d - *ims_m1* [k], but it is stored here as an optimization. + to its beginning. Note that `backstrides`[k]= `strides`[k] * + `dims_m1`[k], but it is stored here as an optimization. .. c:member:: npy_intp *PyArrayIterObject.factors