On 07/10/2011 05:50 PM, Tim Johnson wrote:
* pyt...@bdurham.com<pyt...@bdurham.com>  [110710 14:17]:
def test():
     """This is my doc string"""
     print test.__doc__
test()

   Works for me. Works for the application I'm after. thanks
   Here's a related question:
  ## Is it possible to get the module docstring
  ## from the module itself?

You're gonna kick yourself :)

  print __doc__

-tkc



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

Reply via email to