[Python-Dev] cpython: whatsnew: textwrap.shorten.

Serhiy Storchaka storchaka at gmail.com
Tue Feb 25 18:48:48 CET 2014


23.02.14 18:42, r.david.murray написав(ла):
> http://hg.python.org/cpython/rev/4d615ab37804
> changeset:   89337:4d615ab37804
> user:        R David Murray <rdmurray at bitdance.com>
> date:        Sun Feb 23 10:22:07 2014 -0500
> summary:
>    whatsnew: textwrap.shorten.
>
> Also add the missing TextWrapper.shorten method doc.

There is no the TextWrapper.shorten method. The textwrap.shorten() 
function is implemented via new max_lines parameter.




More information about the Python-Dev mailing list