[Techtalk] Python doc strings

Carla Schroder carla at bratgrrl.com
Sun Apr 25 16:51:04 EST 2004


On Sunday 25 April 2004 4:02 pm, dominik schramm wrote:
> Carla Schroder <carla at bratgrrl.com> writes:
> 
> > >>> print my_function.__doc__
> 
> these are two pairs of underscores _ _ doc _ _
> 
> > >>> print wicked_kewl_function._doc_
> 
> one underscore too few on each side.

aha! that did the trick. Thanks!

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Carla Schroder
this message brought to you
by Libranet 2.8 and Kmail
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the Techtalk mailing list