Message223388
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. |
|
Date |
User |
Action |
Args |
2014-07-17 22:53:23 | paul.j3 | set | recipients:
+ paul.j3, roysmith, bethard, chris.jerdonek, BreamoreBoy |
2014-07-17 22:53:23 | paul.j3 | set | messageid: <1405637603.91.0.455373003608.issue17113@psf.upfronthosting.co.za> |
2014-07-17 22:53:23 | paul.j3 | link | issue17113 messages |
2014-07-17 22:53:23 | paul.j3 | create | |
|