Martin Panter added the comment: +script = textwrap.dedent("1 + 1 = 2\n") You don’t need that first textwrap.dedent() call. It is only useful if the string has extra indentation at the start, as in the second multiline one.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25677> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com