Serhiy Storchaka added the comment: Here is a patch. It get rid of TextWrap.shorten() because TextWrap.fill() supersedes it and because "placeholder" now a parameter of TextWrap. Module level shorten() is left but I doubt about it.
---------- keywords: +patch stage: test needed -> patch review Added file: http://bugs.python.org/file31736/textwrap_max_lines.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18725> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com