A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-June/025108.html below:

[Python-Dev] textwrap.py

[Python-Dev] textwrap.py [Python-Dev] textwrap.pyGreg Ward gward@python.net
Thu, 6 Jun 2002 16:49:01 -0400
On 06 June 2002, Aahz said:
> It should fix neither.  However, it should preserve sentence endings:

Actually, what it does fix is this:

  blah blah blah here's the end of sentence at the end of a line.
  And here's the next sentence.

Which, after whitespace-mangling, becomes

  ... end of a line. And here's ...

which is incorrect (sentences should be separated by two spaces in
fixed-width fonts).  The catch is that single-space-separated sentences
elsewhere in the text are also fixed, which *I* think is a good thing,
but should be optional.

Whatever -- minor detail.  I'll check it in first and then worry about
making more features optional.

        Greg
-- 
Greg Ward - Unix geek                                   gward@python.net
http://starship.python.net/~gward/
Budget's in the red?  Let's tax religion!
    -- Dead Kennedys




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4