diff options
author | Travis Oliphant <oliphant@enthought.com> | 2005-11-08 08:13:02 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2005-11-08 08:13:02 +0000 |
commit | 94d041cadb5f34c55d5496217f4f42065e109b00 (patch) | |
tree | 68a0e22c35b0705205ca7968cac606ed0a81d671 /scipy/base/src/arraymethods.c | |
parent | b6502bf97ab39138a491378e29a7e7e38e31bd9c (diff) | |
download | numpy-94d041cadb5f34c55d5496217f4f42065e109b00.tar.gz |
Fixed another leak.
Diffstat (limited to 'scipy/base/src/arraymethods.c')
-rw-r--r-- | scipy/base/src/arraymethods.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scipy/base/src/arraymethods.c b/scipy/base/src/arraymethods.c index 478036359..3d92ef94f 100644 --- a/scipy/base/src/arraymethods.c +++ b/scipy/base/src/arraymethods.c @@ -1233,7 +1233,9 @@ array_nonzero(PyArrayObject *self, PyObject *args) } -static char doc_trace[] = "a.trace(offset=0, axis1=0, axis2=1, rtype=None)"; +static char doc_trace[] = "a.trace(offset=0, axis1=0, axis2=1, rtype=None) \n"\ + "return the sum along the offset diagonal of the arrays indicated\n" \ + "axis1 and axis2."; static PyObject * array_trace(PyArrayObject *self, PyObject *args, PyObject *kwds) |