New submission from Antoine Pitrou:

Following patch proposed to add a function named textwrap.summarize():

   >>> textwrap.summarize("Hello  world!", width=12)
   'Hello world!'
   >>> textwrap.summarize("Hello  world!", width=11)
   'Hello (...)'

----------
components: Library (Lib)
files: summarize.patch
keywords: patch
messages: 193862
nosy: barry, georg.brandl, pitrou
priority: normal
severity: normal
stage: patch review
status: open
title: Add a text truncation function
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file31072/summarize.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18585>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to