Author ezberch
Recipients amaury.forgeotdarc, brandjon, dontknow, ezberch, georg.brandl, ncoghlan
Date 2012-01-31.00:03:46
SpamBayes Score 9.09411e-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.
History
Date User Action Args
2012-01-31 00:03:49ezberchsetrecipients: + ezberch, georg.brandl, amaury.forgeotdarc, ncoghlan, dontknow, brandjon
2012-01-31 00:03:48ezberchsetmessageid: <1327968228.44.0.564322788453.issue13857@psf.upfronthosting.co.za>
2012-01-31 00:03:47ezberchlinkissue13857 messages
2012-01-31 00:03:47ezberchcreate