Skip to content

Commit 37d5d57

Browse files
authored
DOC: fix typo in PyUFunc_FromFuncAndData call in "Writing your own ufunc" docs (numpy#31596)
Signed-off-by: Iason Krommydas <iason.krom@gmail.com>
1 parent d0bc7b7 commit 37d5d57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/source/user/c-info.ufunc-tutorial.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ is the primary thing that must be changed to create your own ufunc.
590590
return NULL;
591591
}
592592
593-
logit = PyUFunc_FromFuncAndData(funcs, NULL, types, 4, 1, 1,
593+
logit = PyUFunc_FromFuncAndData(funcs, NULL, types, 3, 1, 1,
594594
PyUFunc_None, "logit",
595595
"logit_docstring", 0);
596596

0 commit comments

Comments
 (0)