Inada Naoki <songofaca...@gmail.com> added the comment:
> (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(). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36906> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com