summaryrefslogtreecommitdiffstats
path: root/Lib/textwrap.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Convert _fix_sentence_endings() to use a regex, and augment it toGreg Ward2002-06-071-8/+8
| | | | | handle sentences like this: And she said, "Go to hell!" Can you believe that?
* Add fix_sentence_endings option to control whether we ensure thatGreg Ward2002-06-071-16/+25
| | | | | | | | sentences are separated by two spaces. Improve _fix_sentence_endings() a bit -- look for ".!?" instead of just ".", and factor out the list of sentence-ending punctuation characters to a class attribute.
* Initial revision. Currently biased towards English in a fixed-width font,Greg Ward2002-06-071-0/+239
according to the conventions that I (and Tim Peters) learned in school.