Inada Naoki <songofaca...@gmail.com> added the comment:
> I don't think we need two algorithms here. I'm +1 to add str.dedent() which > mirroring only inspect.cleandoc(). I withdraw this. If we add str.dedent(), it must not be optimized for triple-quote literal. Auto dedenting is very nice to have. It can be different from inspect.cleandoc(). We may able to cleandoc() automatically, even without `from __future__`. This can be different from str.dedent() or auto dedenting. We already have a separate issue for docstring. And auto dedenting will needs PEP. How about focus on str.dedent() and change the issue title? ---------- _______________________________________ 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