[Tutor] how to read HyperText documentation?
David Porter
jcm@bigskytel.com
Fri, 30 Mar 2001 13:18:11 -0700
* Pijus Virketis <virketis@fas.harvard.edu>:
> I am playing around with the HTML generator program, HyperText right now,
> but I cannot get to its documentation. The author says that it's at
> HyperText.HTML40.__doc__. Sure enough, if I import HyperText, and check
> dir(HyperText), there is a __doc__ module there. But I do not know how to
> get to the info inside. I tried printing __doc__ (ans: None), executing it,
> assigning it to a variable, etc. Could anyone help me out?
You're looking at HyperText.__doc__, not HyperText.HTML40.__doc__.
import HyperText
print HyperText.HTML40.__doc__
David