textwrap.fill algorithm? (Difference with vim)

Matěj Cepl mcepl at cepl.eu
Fri Apr 21 18:17:18 EDT 2017


On 2017-04-21, 21:54 GMT, Peter Otten wrote:
> It's not the algorithm, it's the width. Try 
> textwrap.fill(text, 72).

I don’t understand. Why 72? I have set tw=65 in vim.

Matěj

-- 
https://matej.ceplovi.cz/blog/, Jabber: mcepl at ceplovi.cz
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8
 
Of course I'm respectable. I'm old. Politicians, ugly buildings,
and whores all get respectable if they last long enough.
      --John Huston in "Chinatown."



More information about the Python-list mailing list