diff options
author | Michael Seifert <michaelseifert04@yahoo.de> | 2017-03-26 23:11:56 +0200 |
---|---|---|
committer | Michael Seifert <michaelseifert04@yahoo.de> | 2017-03-26 23:11:56 +0200 |
commit | 3481194d7ab2461e6558239cb9fefddbca859027 (patch) | |
tree | a6bea02e3fd200944fc573797336a85a96803411 /doc/source/reference/c-api.array.rst | |
parent | 800160dad28bd8eb471a9811f286cc1c1afecefd (diff) | |
download | numpy-3481194d7ab2461e6558239cb9fefddbca859027.tar.gz |
DOC: Fix "PyObject *" links in narrative documentation
Diffstat (limited to 'doc/source/reference/c-api.array.rst')
-rw-r--r-- | doc/source/reference/c-api.array.rst | 6 |
1 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 5fb7e3a9f..4d308eee8 100644 --- a/doc/source/reference/c-api.array.rst +++ b/doc/source/reference/c-api.array.rst @@ -21,7 +21,7 @@ Array structure and data access ------------------------------- These macros all access the :c:type:`PyArrayObject` structure members. The input -argument, arr, can be any :c:type:`PyObject *` that is directly interpretable +argument, arr, can be any :c:type:`PyObject *<PyObject>` that is directly interpretable as a :c:type:`PyArrayObject *` (any instance of the :c:data:`PyArray_Type` and its sub-types). @@ -833,7 +833,7 @@ Data-type checking For the typenum macros, the argument is an integer representing an enumerated array data type. For the array type checking macros the -argument must be a :c:type:`PyObject *` that can be directly interpreted as a +argument must be a :c:type:`PyObject *<PyObject>` that can be directly interpreted as a :c:type:`PyArrayObject *`. .. c:function:: PyTypeNum_ISUNSIGNED(num) @@ -2371,7 +2371,7 @@ Broadcasting (multi-iterators) .. c:function:: PyObject* PyArray_MultiIterNew(int num, ...) A simplified interface to broadcasting. This function takes the - number of arrays to broadcast and then *num* extra ( :c:type:`PyObject *` + number of arrays to broadcast and then *num* extra ( :c:type:`PyObject *<PyObject>` ) arguments. These arguments are converted to arrays and iterators are created. :c:func:`PyArray_Broadcast` is then called on the resulting multi-iterator object. The resulting, broadcasted mult-iterator |