From fa3b1f1e85ba251f8e76abccd93d469274bce95c Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sun, 4 Nov 2018 13:41:53 +0100 Subject: [PATCH] [py] [doc] improve source.do/do_multi descriptions --- python/ext/py-source.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/ext/py-source.c b/python/ext/py-source.c index c263473b..6bdfd416 100644 --- a/python/ext/py-source.c +++ b/python/ext/py-source.c @@ -247,7 +247,7 @@ static char Py_source_do_doc[] = "" "\n" "Returns\n" "-------\n" -"samples : numpy.ndarray, shape `(hop_size,)`, dtype aubio.float_type\n" +"samples : numpy.ndarray\n" " `fvec` of size `hop_size` containing the new samples.\n" "read : int\n" " Number of samples read from the source, equals to `hop_size`\n" @@ -283,7 +283,7 @@ static char Py_source_do_multi_doc[] = "" "\n" "Returns\n" "-------\n" -"samples : np.ndarray([hop_size, channels], dtype=aubio.float_type)\n" +"samples : numpy.ndarray\n" " NumPy array of shape `(hop_size, channels)` containing the new\n" " audio samples.\n" "read : int\n" -- 2.11.0