[py] [doc] improve source.do/do_multi descriptions
authorPaul Brossier <piem@piem.org>
Sun, 4 Nov 2018 12:41:53 +0000 (13:41 +0100)
committerPaul Brossier <piem@piem.org>
Sun, 4 Nov 2018 12:41:53 +0000 (13:41 +0100)
python/ext/py-source.c

index c263473..6bdfd41 100644 (file)
@@ -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"