summaryrefslogtreecommitdiff
path: root/Lib/textwrap.py
AgeCommit message (Expand)AuthorLines
2007-08-31string.maketrans() now produces translation tables for bytes.translate() -- w...Georg Brandl-6/+1
2007-08-11Quick fix for a new problem here -- using string.lowercase somehow causedGuido van Rossum-4/+3
2007-07-03Merged revisions 56125-56153 via svnmerge fromGuido van Rossum-3/+3
2007-06-06Merged revisions 55631-55794 via svnmerge fromGuido van Rossum-8/+0
2007-05-12Fix string test (was testing str twice).Walter Dörwald-1/+1
2007-05-02Rip out all the u"..." literals and calls to unicode().Guido van Rossum-2/+2
2007-04-27Merged revisions 53952-54987 via svnmerge fromGuido van Rossum-4/+8
2007-02-09Fix most trivially-findable print statements.Guido van Rossum-1/+1
2006-08-11Merged revisions 46753-51188 via svnmerge fromThomas Wouters-28/+45
2005-07-15textwrap now processes text chucks at O(n) speed instead of O(n**2).Raymond Hettinger-9/+13
2005-03-05SF #1149508: ensure textwrap handles hyphenated numbers correctly,Greg Ward-3/+4
2005-01-03Removed unused line.Raymond Hettinger-1/+0
2004-06-03SF #965425: fix so hyphenated words surrounded by punctuation areGreg Ward-3/+3
2004-05-13SF #847346: merge from release23-maint branch: remove misguidedGreg Ward-10/+8
2003-08-30SF bug 797650: Infinite loop in textwrap.pyRaymond Hettinger-1/+1
2003-06-15Update copyright dates.Greg Ward-1/+9
2003-06-14Remove comment about Unicode: SF #622831 was fixed loooong ago!Greg Ward-3/+0
2003-05-12Whitespace normalization.Tim Peters-1/+1
2003-05-08Clarify the dedent() example a bit by indenting the input lines unevenly.Greg Ward-4/+4
2003-05-08Minor clarification of dedent().Greg Ward-3/+3
2003-05-08SF patch #598163 (Ville Vainio, vvainio@users.sourceforge.net):Greg Ward-0/+42
2003-05-07SF #596434: tweak wordsep_re so the definition of an em-dash isGreg Ward-1/+1
2003-05-07SF #726446: raise ValueError if width <= 0.Greg Ward-0/+2
2003-02-14Fix docstring typoAndrew M. Kuchling-1/+1
2003-02-03Add __all__ (suggested by Raymond Hettinger).Greg Ward-3/+5
2002-12-12Hardcode the recognized whitespace characters to the US-ASCII whitespaceGreg Ward-3/+12
2002-12-11Tweak generation of unicode_whitespace_trans -- clearer, moreGreg Ward-2/+3
2002-12-09Fix SF bug #622849: in _wrap_chunks(), ensure that leading whitespace inGreg Ward-2/+3
2002-12-09Fix SF bug #622831 (I think): add unicode_whitespace_trans classGreg Ward-1/+8
2002-10-22Add comment about inability to handle Unicode strings (hopefully aGreg Ward-0/+3
2002-10-13Fix copyright date: the core of this code actually dates back to 1999Greg Ward-2/+2
2002-10-02Fix an endcase bug: initial_indent was ignored when the text was shortGuido van Rossum-2/+3
2002-08-22Tweak wordsep_re again: this time to recognize an em-dash withGreg Ward-1/+1
2002-08-22Fix SF bug #596434: tweak wordsep_re so "--foo-bar" now splitsGreg Ward-1/+1
2002-07-16Whitespace normalization.Tim Peters-3/+3
2002-07-04Docstring improvements. In particular, added docstrings for theGreg Ward-10/+27
2002-06-10Took initial_tab and subsequent_tab away from the fill() method andGreg Ward-22/+34
2002-06-10Allow the standalone wrap() and fill() functions to take arbitraryGreg Ward-4/+6
2002-06-10Make 'width' an instance attribute rather than an argument to the wrap()Greg Ward-31/+32
2002-06-09Make all of TextWrapper's options keyword args to the constructor.Greg Ward-5/+9
2002-06-07Record copyright and author.Greg Ward-0/+4
2002-06-07Use True/False instead of 1/0.Greg Ward-5/+5
2002-06-07Remove islower() -- not used anymore.Greg Ward-6/+0
2002-06-07Conform to the bloody coding standards: "def foo()" not "def foo ()".Greg Ward-10/+10
2002-06-07Convert _fix_sentence_endings() to use a regex, and augment it toGreg Ward-8/+8
2002-06-07Add fix_sentence_endings option to control whether we ensure thatGreg Ward-16/+25
2002-06-07Initial revision. Currently biased towards English in a fixed-width font,Greg Ward-0/+239