Message152363
| Author |
ezberch |
| Recipients |
amaury.forgeotdarc, brandjon, dontknow, ezberch, georg.brandl, ncoghlan |
| Date |
2012年01月31日.00:03:46 |
| SpamBayes Score |
9.0941126e-07 |
| Marked as misclassified |
No |
| Message-id |
<1327968228.44.0.564322788453.issue13857@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I've created a patch using the conditional expression in msg151945. The one problem I found with it is that when the input string is terminated by a newline it removes that newline.
I've added an optional third argument: a function which determines which lines are indented. If omitted, the default behavior is to indent non-empty lines. |
|