Antoine Pitrou added the comment: Correcting myself:
> i.e. it should not affect the placeholder's own spaces. ... except for leading whitespace in case the placeholder ends up alone in the result. i.e. shorten("somethingtoolong") should return "(...)", not " (...)". ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18723> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com