Author: bugman Date: Fri Jul 1 15:57:47 2011 New Revision: 13368 URL: http://svn.gna.org/viewcvs/relax?rev=13368&view=rev Log: The leading whitespace is now stripped out in the _build_doc() docstring builder. Modified: branches/gui_testing/prompt/base_class.py Modified: branches/gui_testing/prompt/base_class.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/prompt/base_class.py?rev=13368&r1=13367&r2=13368&view=diff ============================================================================== --- branches/gui_testing/prompt/base_class.py (original) +++ branches/gui_testing/prompt/base_class.py Fri Jul 1 15:57:47 2011 @@ -52,11 +52,11 @@ # Add the description. doc = doc + _build_subtitle("Description") - doc = doc + fn._doc_desc + doc = doc + _strip_lead(fn._doc_desc) # Add the examples. doc = doc + _build_subtitle("Examples") - doc = doc + fn._doc_examples + doc = doc + _strip_lead(fn._doc_examples) # The width of the document text. if platform.uname()[0] in ['Windows', 'Microsoft']: