On Jun 28, 2010, at 14:25 , Chris Rebert wrote:

On Jun 27, 2010, at 22:37 , Red Forks wrote:
Read you doc file and set the __doc__ attr of the object you want to
change.


__doc__ is normally defined on classes, e.g. `A`, not instances, e.g.
`a`. help() looks for __doc__ accordingly.

Cheers,
Chris

so that gets back to my original question: can I change this text at runtime. Doesn't look like I can, because it is defined for classes rather than instances. Am I thinking about this correctly?


                bb


--
Brian Blais
bbl...@bryant.edu
http://web.bryant.edu/~bblais
http://bblais.blogspot.com/



--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to