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 methane
Recipients Marco Sulla, Miguel Amaral, gregory.p.smith, josh.r, mbussonn, methane, pablogsal, remi.lapeyre, rhettinger, serhiy.storchaka, steven.daprano, terry.reedy
Date 2020-11-22.07:41:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1606030902.15.0.673523139246.issue36906@roundup.psfhosted.org>
In-reply-to
Content
> (1) add a .dedent() method to str (and bytes?) - behaviors to consider mirroring are textwrap.dedent() and inspect.cleandoc().  Given their utility and similarities, it makes sense to offer both behaviors; behavior could be selected by a kwarg passed to the method.

I don't think we need two algorithms here. I'm +1 to add str.dedent() which mirroring only inspect.cleandoc().
History
Date User Action Args
2020-11-22 07:41:42methanesetrecipients: + methane, rhettinger, terry.reedy, gregory.p.smith, steven.daprano, serhiy.storchaka, josh.r, mbussonn, pablogsal, remi.lapeyre, Marco Sulla, Miguel Amaral
2020-11-22 07:41:42methanesetmessageid: <1606030902.15.0.673523139246.issue36906@roundup.psfhosted.org>
2020-11-22 07:41:42methanelinkissue36906 messages
2020-11-22 07:41:41methanecreate