diff options
Diffstat (limited to 'doc/source/reference')
-rw-r--r-- | doc/source/reference/c-api.iterator.rst | 4 | ||||
-rw-r--r-- | doc/source/reference/c-api.ufunc.rst | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/source/reference/c-api.iterator.rst b/doc/source/reference/c-api.iterator.rst index 679763067..92a949de9 100644 --- a/doc/source/reference/c-api.iterator.rst +++ b/doc/source/reference/c-api.iterator.rst @@ -1250,7 +1250,7 @@ functions provide that information. This pointer may be cached before the iteration loop, calling ``iternext`` will not change it. This function may be safely called without holding the Python GIL. - + **WARNING**: While the pointer may be cached, its values may change if the iterator is buffered. @@ -1307,7 +1307,7 @@ Here is a conversion table for which functions to use with the new iterator: :c:func:`PyArrayIter_Check` Will need to add this in Python exposure :c:func:`PyArray_ITER_RESET` :c:func:`NpyIter_Reset` :c:func:`PyArray_ITER_NEXT` Function pointer from :c:func:`NpyIter_GetIterNext` -:c:func:`PyArray_ITER_DATA` c:func:`NpyIter_GetDataPtrArray` +:c:func:`PyArray_ITER_DATA` :c:func:`NpyIter_GetDataPtrArray` :c:func:`PyArray_ITER_GOTO` :c:func:`NpyIter_GotoMultiIndex` :c:func:`PyArray_ITER_GOTO1D` :c:func:`NpyIter_GotoIndex` or :c:func:`NpyIter_GotoIterIndex` diff --git a/doc/source/reference/c-api.ufunc.rst b/doc/source/reference/c-api.ufunc.rst index 35dcd6cfa..dc53956a2 100644 --- a/doc/source/reference/c-api.ufunc.rst +++ b/doc/source/reference/c-api.ufunc.rst @@ -404,7 +404,7 @@ Importing the API created (and pointed to by a global variable) by import_ufunc. The global variable is either statically defined or allowed to be seen by other files depending on the state of - :c:data:`Py_UFUNC_UNIQUE_SYMBOL` and :c:data:`NO_IMPORT_UFUNC`. + :c:data:`PY_UFUNC_UNIQUE_SYMBOL` and :c:data:`NO_IMPORT_UFUNC`. .. index:: pair: ufunc; C-API |