Issue 843385: help(obj) should use doc when available (original) (raw)
Issue843385
Created on 2003-11-16 23:05 by kern, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (2) | ||
---|---|---|
msg60423 - (view) | Author: Robert Kern (kern) | Date: 2003-11-16 23:05 |
Suppose one makes a C extension type that is callable and has a __doc__ attribute. Currently, calling help() on the object yields something like the following: >>> help(scipy.linalg._flinalg.slu_c) Help on fortran: >>> hasattr(scipy.linalg._flinalg.slu_c, '__doc__') True >>> help() could give more useful information by modifying pydoc.TextDoc.docother to check for a __doc__ attribute and add it (just as docother checks for the 'doc' keyword). | ||
msg71509 - (view) | Author: Benjamin Peterson (benjamin.peterson) * ![]() |
Date: 2008-08-20 02:56 |
I believe this has been implemented now. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:01 | admin | set | github: 39558 |
2008-08-20 02:56:52 | benjamin.peterson | set | status: open -> closedresolution: fixedmessages: + nosy: + benjamin.peterson |
2003-11-16 23:05:12 | kern | create |