[Numpy-discussion] Why are ufunc docstrings useless?
Thu May 8 22:39:08 CDT 2008
2008/5/8 Robert Kern <email@example.com>:
> On Thu, May 8, 2008 at 9:52 PM, Anne Archibald
> <firstname.lastname@example.org> wrote:
>> Thanks! Done add, reduce, outer, and reduceat. What about __call__?
> If anyone knows enough to explicitly request a docstring from
> __call__, they already know what it does.
How exactly are they to find out? It does take additional arguments,
for example dtype and out - I think.
Also, help(np.add) displays the the object, its docstring, its
methods, and all their docstrings. So it provides a way to get a
docstring out of __call__ without having to know what it is.
More information about the Numpy-discussion