Nick Coghlan <ncogh...@gmail.com> added the comment: Please go ahead!
And Georg is right - the short spelling doesn't handle the first line correctly. It also suffers from the "trailing whitespace" problem that Amaury pointed out in my original version. The tests for the new function should check both those cases (i.e. don't indent blank lines, ensure the first line is correctly indented). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13857> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com