@@ -172,7 +172,7 @@ iterators so that all that needs to be done to advance to the next element in
172172each array is for PyArray_ITER_NEXT to be called for each of the inputs. This
173173incrementing is automatically performed by
174174:c:func: `PyArray_MultiIter_NEXT ` ( ``obj `` ) macro (which can handle a
175- multiterator ``obj `` as either a :c:expr: `PyArrayMultiObject * ` or a
175+ multiterator ``obj `` as either a :c:expr: `PyArrayMultiIterObject * ` or a
176176:c:expr: `PyObject * `). The data from input number ``i `` is available using
177177:c:func: `PyArray_MultiIter_DATA ` ( ``obj ``, ``i `` ) and the total (broadcasted)
178178size as :c:func: `PyArray_MultiIter_SIZE ` ( ``obj ``). An example of using this
@@ -330,7 +330,7 @@ function :c:func:`PyArray_RegisterCanCast` (from_descr, totype_number,
330330scalarkind) should be used to specify that the data-type object
331331from_descr can be cast to the data-type with type number
332332totype_number. If you are not trying to alter scalar coercion rules,
333- then use :c:data : `NPY_NOSCALAR ` for the scalarkind argument.
333+ then use :c:enumerator : `NPY_NOSCALAR ` for the scalarkind argument.
334334
335335If you want to allow your new data-type to also be able to share in
336336the scalar coercion rules, then you need to specify the scalarkind
@@ -340,7 +340,7 @@ available to that function). Then, you can register data-types that
340340can be cast to separately for each scalar kind that may be returned
341341from your user-defined data-type. If you don't register scalar
342342coercion handling, then all of your user-defined data-types will be
343- seen as :c:data : `NPY_NOSCALAR `.
343+ seen as :c:enumerator : `NPY_NOSCALAR `.
344344
345345
346346Registering a ufunc loop
@@ -473,7 +473,7 @@ The __array_finalize\__ method
473473 attribute is looked-up in the object dictionary. If it is present
474474 and not None, then it can be either a CObject containing a pointer
475475 to a :c:func: `PyArray_FinalizeFunc ` or it can be a method taking a
476- single argument (which could be None).
476+ single argument (which could be None)
477477
478478 If the :obj: `~numpy.class.__array_finalize__ ` attribute is a CObject, then the pointer
479479 must be a pointer to a function with the signature:
0 commit comments