summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2018-10-11 21:42:20 +0300
committermattip <matti.picus@gmail.com>2018-10-12 10:17:29 +0300
commit1205e196ae20be6551a3f207c993fd0f769bf9bb (patch)
tree159acd9657d5be1cb69de2aa809cad7073c38c4e /doc
parent7ef2b3ab61907958b879b34c8e790fcca302f004 (diff)
downloadnumpy-1205e196ae20be6551a3f207c993fd0f769bf9bb.tar.gz
DOC: tweak docs from review
Diffstat (limited to 'doc')
-rw-r--r--doc/source/reference/c-api.types-and-structures.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/source/reference/c-api.types-and-structures.rst b/doc/source/reference/c-api.types-and-structures.rst
index 0766f5a3f..73587ec65 100644
--- a/doc/source/reference/c-api.types-and-structures.rst
+++ b/doc/source/reference/c-api.types-and-structures.rst
@@ -699,8 +699,8 @@ PyUFunc_Type
of NumPy. To ensure compatibility:
- Never declare a non-pointer instance of the struct
- - Never perform pointer arithmatic
- - Never use ``sizof(PyUFuncObject)``
+ - Never perform pointer arithmetic
+ - Never use ``sizeof(PyUFuncObject)``
It has the following structure:
@@ -899,7 +899,7 @@ PyUFunc_Type
.. c:member:: npy_intp *PyUFuncObject.core_dim_sizes
For each distinct core dimension, the possible
- :ref:`frozen <frozen>` size (``-1`` if not frozen)
+ :ref:`frozen <frozen>` size if :c:data:`UFUNC_CORE_DIM_SIZE_INFERRED` is 0
.. c:member:: npy_uint32 *PyUFuncObject.core_dim_flags