This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author paul.j3
Recipients BreamoreBoy, bethard, chris.jerdonek, paul.j3, roysmith
Date 2014-07-17.22:53:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1405637603.91.0.455373003608.issue17113@psf.upfronthosting.co.za>
In-reply-to
Content
A user could preserve blank lines by including a space (or more) in each.  That is, instead of ending with '\n', end with '\n \n'.

epilog = 'Epilog: No wrap text %(prog)s\n\tNext line\n \n'

---------------

I just checked a simple help.  The description and epilog get an extra blank line during assembly.  If 'epilog=None', there are 2 blank lines, which normally get reduced to one \n. 

So the philosophy of the formatter is to freely add \n between sections, regardless of whether they are empty (None) or not, and then deal with excess \n at the end.  Preserving blank lines during Raw requires rethinking that underlying philosophy.
History
Date User Action Args
2014-07-17 22:53:23paul.j3setrecipients: + paul.j3, roysmith, bethard, chris.jerdonek, BreamoreBoy
2014-07-17 22:53:23paul.j3setmessageid: <1405637603.91.0.455373003608.issue17113@psf.upfronthosting.co.za>
2014-07-17 22:53:23paul.j3linkissue17113 messages
2014-07-17 22:53:23paul.j3create