[Tutor] To print docstrings

Kent Johnson kent37 at tds.net
Thu Dec 4 16:42:51 CET 2008


On Thu, Dec 4, 2008 at 10:10 AM, A.T.Hofkamp <a.t.hofkamp at tue.nl> wrote:

> docs = []
> for x in dir(collections):
>   docs.append(x.__doc__)

This will not work, see my previous email for solution.

Kent


More information about the Tutor mailing list