summaryrefslogtreecommitdiff
path: root/doc/source/reference/c-api/ufunc.rst
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2020-10-14 15:23:35 +0300
committerGitHub <noreply@github.com>2020-10-14 15:23:35 +0300
commit4ccfbe69b7a8c511d262a9759e576bb87ec119cc (patch)
treecc8102f44414cf856a5a87fb9c0f62bb149f3886 /doc/source/reference/c-api/ufunc.rst
parent820a439494aa8c5a199edadd6bf38af400f67caa (diff)
parentfaaf29998d421529113d0bf40dc432c1017544b7 (diff)
downloadnumpy-4ccfbe69b7a8c511d262a9759e576bb87ec119cc.tar.gz
Merge pull request #17559 from takanori-pskq/i16217-remove-directives
DOC: Remove directives for some constants
Diffstat (limited to 'doc/source/reference/c-api/ufunc.rst')
-rw-r--r--doc/source/reference/c-api/ufunc.rst9
1 files changed, 3 insertions, 6 deletions
diff --git a/doc/source/reference/c-api/ufunc.rst b/doc/source/reference/c-api/ufunc.rst
index 05ddf0dba..9eb70c3fb 100644
--- a/doc/source/reference/c-api/ufunc.rst
+++ b/doc/source/reference/c-api/ufunc.rst
@@ -10,8 +10,7 @@ UFunc API
Constants
---------
-.. c:var:: UFUNC_ERR_{HANDLER}
-
+``UFUNC_ERR_{HANDLER}``
.. c:macro:: UFUNC_ERR_IGNORE
.. c:macro:: UFUNC_ERR_WARN
@@ -20,8 +19,7 @@ Constants
.. c:macro:: UFUNC_ERR_CALL
-.. c:var:: UFUNC_{THING}_{ERR}
-
+``UFUNC_{THING}_{ERR}``
.. c:macro:: UFUNC_MASK_DIVIDEBYZERO
.. c:macro:: UFUNC_MASK_OVERFLOW
@@ -46,8 +44,7 @@ Constants
.. c:macro:: UFUNC_FPE_INVALID
-.. c:var:: PyUFunc_{VALUE}
-
+``PyUFunc_{VALUE}``
.. c:macro:: PyUFunc_One
.. c:macro:: PyUFunc_Zero