summaryrefslogtreecommitdiff
path: root/doc/source/reference/c-api
diff options
context:
space:
mode:
authorMSeifert04 <michaelseifert04@yahoo.de>2019-09-13 11:50:47 +0200
committerMSeifert04 <michaelseifert04@yahoo.de>2019-09-13 11:50:47 +0200
commit3e002b1b82084b1426c266f591eb5d89d3a60b0d (patch)
tree4d22d89c8c7b13dcc2f107e0d19facde8a0f7234 /doc/source/reference/c-api
parent4d13d4cf8e8ab029f37e36753ca991c2d74c5cdb (diff)
downloadnumpy-3e002b1b82084b1426c266f591eb5d89d3a60b0d.tar.gz
DOC: Add backslashes so the function renders correctly with sphinx.
Diffstat (limited to 'doc/source/reference/c-api')
-rw-r--r--doc/source/reference/c-api/ufunc.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/source/reference/c-api/ufunc.rst b/doc/source/reference/c-api/ufunc.rst
index 92a679510..c9cc60141 100644
--- a/doc/source/reference/c-api/ufunc.rst
+++ b/doc/source/reference/c-api/ufunc.rst
@@ -198,10 +198,10 @@ Functions
to calling PyUFunc_FromFuncAndData. A copy of the string is made,
so the passed in buffer can be freed.
-.. c:function:: PyObject* PyUFunc_FromFuncAndDataAndSignatureAndIdentity(
+.. c:function:: PyObject* PyUFunc_FromFuncAndDataAndSignatureAndIdentity( \
PyUFuncGenericFunction *func, void **data, char *types, int ntypes, \
- int nin, int nout, int identity, char *name, char *doc, int unused, char *signature,
- PyObject *identity_value)
+ int nin, int nout, int identity, char *name, char *doc, int unused, \
+ char *signature, PyObject *identity_value)
This function is very similar to `PyUFunc_FromFuncAndDataAndSignature` above,
but has an extra *identity_value* argument, to define an arbitrary identity