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 ncoghlan
Recipients ncoghlan
Date 2012-01-25.10:17:34
SpamBayes Score 0.11792354
Marked as misclassified No
Message-id <1327486654.89.0.598093688886.issue13857@psf.upfronthosting.co.za>
In-reply-to
Content
David Miller pointed out a shorter spelling:

    s.replace('\n', '\n' + (4 * ' '))

Still not particularly obvious to the reader (or writer), though.
History
Date User Action Args
2012-01-25 10:17:34ncoghlansetrecipients: + ncoghlan
2012-01-25 10:17:34ncoghlansetmessageid: <1327486654.89.0.598093688886.issue13857@psf.upfronthosting.co.za>
2012-01-25 10:17:34ncoghlanlinkissue13857 messages
2012-01-25 10:17:34ncoghlancreate