From cf89a25cebb537448707ab389f32f07dd52cf911 Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Sun, 8 Jun 2008 12:18:37 +0000 Subject: Move umath docstrings to a separate file. Make the automatic ufunc signature compatible with the documentation standard. --- numpy/core/src/ufuncobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/core/src') diff --git a/numpy/core/src/ufuncobject.c b/numpy/core/src/ufuncobject.c index b07e693f2..d07f78305 100644 --- a/numpy/core/src/ufuncobject.c +++ b/numpy/core/src/ufuncobject.c @@ -4007,7 +4007,7 @@ ufunc_get_doc(PyUFuncObject *self) PyObject *outargs, *inargs, *doc; outargs = _makeargs(self->nout, "y"); inargs = _makeargs(self->nin, "x"); - doc = PyString_FromFormat("%s = %s(%s) %s", + doc = PyString_FromFormat("%s = %s(%s)\n\n%s", PyString_AS_STRING(outargs), self->name, PyString_AS_STRING(inargs), -- cgit v1.2.1