summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/source/reference/c-api.array.rst2
-rw-r--r--doc/source/reference/c-api.types-and-structures.rst4
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/source/reference/c-api.array.rst b/doc/source/reference/c-api.array.rst
index aba5f9caa..049c7b537 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 c5165fef3..38f1acb60 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