Skip to content

Commit aa3a183

Browse files
committed
DOC: Fixup formatting and stray space
1 parent 83867fb commit aa3a183

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/source/reference/c-api/array.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3858,6 +3858,7 @@ To solve this, NumPy provides the following pattern that the the main
38583858
file is modified to define ``PY_ARRAY_UNIQUE_SYMBOL`` before the include:
38593859
38603860
.. code-block:: c
3861+
38613862
/* Main module file */
38623863
#define PY_ARRAY_UNIQUE_SYMBOL MyModule
38633864
#include "numpy/ndarrayobject.h"
@@ -3953,7 +3954,7 @@ the C-API is needed then some additional steps must be taken.
39533954
``PyArray_ImportNumPyAPI()`` is preferable for custom error checking.
39543955
You may also see use of ``_import_array()`` (a function, not
39553956
a macro, but you may want to raise a better error if it fails) and
3956-
the variations ``import_array1(ret)`` which customizes the return value.
3957+
the variations ``import_array1(ret)`` which customizes the return value.
39573958
39583959
.. c:macro:: PY_ARRAY_UNIQUE_SYMBOL
39593960

0 commit comments

Comments
 (0)