Brian van den Broek said unto the world upon 2005-04-08 00:00:
<SNIP>
>>> class Shy: '''My silly example''' def _shy_method(self): '''I am a shy docstring''' print "I'm a shy method" def public_method(self): '''I am a public docstring''' print "I'm a public method" def __mangled_method(self): '''I'm a very shy docstring''' print "I'm quite shy and a bit of a challenge to call as" print "I've been mangled!"
<SNIP>
Something went goofy with the indentation -- that should have the the method doscstrings indented to align with the print statements.
Sorry about that,
Brian vdB
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor