summaryrefslogtreecommitdiffstats
path: root/Doc/library/textwrap.rst
Commit message (Collapse)AuthorAgeFilesLines
* Issue #18725: The textwrap module now supports truncating multiline text.Serhiy Storchaka2013-10-151-12/+16
|
* Fix the default placeholder in textwrap.shorten() to be " [...]".Antoine Pitrou2013-08-161-3/+3
| | | | For some reason I forgot to do it before committing the patch in issue #18585.
* Issue #18585: Add :func:`textwrap.shorten` to collapse and truncate a piece ↵Antoine Pitrou2013-08-121-17/+43
| | | | of text to a given length.
* Merge #15510: clarify textwrap's handling of whitespace, and add confirming ↵R David Murray2012-09-081-6/+13
|\ | | | | | | | | | | tests. Patch by Chris Jerdonek.
| * #15510: clarify textwrap's handling of whitespace, and add confirming tests.R David Murray2012-09-081-6/+13
| | | | | | | | Patch by Chris Jerdonek.
* | Issue #15497: Correct characters in TextWrapper.replace_whitespace docs.Andrew Svetlov2012-08-131-3/+5
|\ \ | |/ | | | | Patch by Chris Jerdonek.
| * Issue #15497: Correct characters in TextWrapper.replace_whitespace docs.Andrew Svetlov2012-08-131-3/+5
| | | | | | | | Patch by Chris Jerdonek.
* | Close #13857: Added textwrap.indent() function (initial patch by EzraNick Coghlan2012-06-111-4/+31
| | | | | | | | Berch)
* | #13152: Allow to specify a custom tabsize for expanding tabs in textwrapHynek Schlawack2012-05-191-0/+9
|/ | | | Patch by John Feuerstein.
* Separate source link from main text.Raymond Hettinger2011-01-101-0/+2
|
* Move source links to consistent location and remove wordy, big yellow boxes.Raymond Hettinger2011-01-101-5/+1
|
* Issue 1859: Doc that textwrap does not break on \n (pending possible ↵Terry Reedy2010-11-231-0/+7
| | | | behavior patch). Patch by Jeremy Thurgood.
* Provide links to Python source where the code is short, readable andÉric Araujo2010-11-161-0/+4
| | | | | informative adjunct to the docs. Forward-port of Raymond's r86225 and r86245 using the new source reST role added in #10334.
* Last round of adapting style of documenting argument default values.Georg Brandl2009-09-161-8/+8
|
* murder some versionadded and versionchanged directives in their bedsBenjamin Peterson2008-08-161-2/+0
|
* Merged revisions ↵Alexandre Vassalotti2008-05-161-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 62998-63003,63005-63006,63009-63012,63014-63017,63019-63020,63022-63024,63026-63029,63031-63041,63043-63045,63047-63054,63056-63062 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r62998 | andrew.kuchling | 2008-05-10 15:51:55 -0400 (Sat, 10 May 2008) | 7 lines #1858 from Tarek Ziade: Allow multiple repositories in .pypirc; see http://wiki.python.org/moin/EnhancedPyPI for discussion. The patch is slightly revised from Tarek's last patch: I've simplified the PyPIRCCommand.finalize_options() method to not look at sys.argv. Tests still pass. ........ r63000 | alexandre.vassalotti | 2008-05-10 15:59:16 -0400 (Sat, 10 May 2008) | 5 lines Cleaned up io._BytesIO.write(). I am amazed that the old code, for inserting null-bytes, actually worked. Who wrote that thing? Oh, it is me... doh. ........ r63002 | brett.cannon | 2008-05-10 16:52:01 -0400 (Sat, 10 May 2008) | 2 lines Revert r62998 as it broke the build (seems distutils.config is missing). ........ r63014 | andrew.kuchling | 2008-05-10 18:12:38 -0400 (Sat, 10 May 2008) | 1 line #1858: add distutils.config module ........ r63027 | brett.cannon | 2008-05-10 21:09:32 -0400 (Sat, 10 May 2008) | 2 lines Flesh out the 3.0 deprecation to suggest using the ctypes module. ........ r63028 | skip.montanaro | 2008-05-10 22:59:30 -0400 (Sat, 10 May 2008) | 4 lines Copied two versions of the example from the interactive session. Delete one. ........ r63037 | georg.brandl | 2008-05-11 03:02:17 -0400 (Sun, 11 May 2008) | 2 lines reload() takes the module itself. ........ r63038 | alexandre.vassalotti | 2008-05-11 03:06:04 -0400 (Sun, 11 May 2008) | 4 lines Added test framework for handling module renames. Factored the import guard in test_py3kwarn.TestStdlibRemovals into a context manager, namely test_support.CleanImport. ........ r63039 | georg.brandl | 2008-05-11 03:06:05 -0400 (Sun, 11 May 2008) | 2 lines #2742: ``''`` is not converted to NULL in getaddrinfo. ........ r63040 | alexandre.vassalotti | 2008-05-11 03:08:12 -0400 (Sun, 11 May 2008) | 2 lines Fixed typo in a comment of test_support.CleanImport. ........ r63041 | alexandre.vassalotti | 2008-05-11 03:10:25 -0400 (Sun, 11 May 2008) | 2 lines Removed a dead line of code. ........ r63043 | georg.brandl | 2008-05-11 04:47:53 -0400 (Sun, 11 May 2008) | 2 lines #2812: document property.getter/setter/deleter. ........ r63049 | georg.brandl | 2008-05-11 05:06:30 -0400 (Sun, 11 May 2008) | 2 lines #1153769: document PEP 237 changes to string formatting. ........ r63050 | georg.brandl | 2008-05-11 05:11:40 -0400 (Sun, 11 May 2008) | 2 lines #2809: elaborate str.split docstring a bit. ........ r63051 | georg.brandl | 2008-05-11 06:13:59 -0400 (Sun, 11 May 2008) | 2 lines Fix typo. ........ r63052 | georg.brandl | 2008-05-11 06:33:27 -0400 (Sun, 11 May 2008) | 2 lines #2709: clarification. ........ r63053 | georg.brandl | 2008-05-11 06:42:28 -0400 (Sun, 11 May 2008) | 2 lines #2659: add ``break_on_hyphens`` to TextWrapper. ........ r63057 | georg.brandl | 2008-05-11 06:59:39 -0400 (Sun, 11 May 2008) | 2 lines #2741: clarification of value range for address_family. ........ r63058 | georg.brandl | 2008-05-11 07:09:35 -0400 (Sun, 11 May 2008) | 2 lines #2452: timeout is used for all blocking operations. ........ r63059 | andrew.kuchling | 2008-05-11 09:33:56 -0400 (Sun, 11 May 2008) | 2 lines #1792: Improve performance of marshal.dumps() on large objects by increasing the size of the buffer more quickly. ........ r63060 | andrew.kuchling | 2008-05-11 10:00:00 -0400 (Sun, 11 May 2008) | 1 line #1858: re-apply patch for this, adding the missing files ........ r63061 | benjamin.peterson | 2008-05-11 10:13:25 -0400 (Sun, 11 May 2008) | 2 lines Add the "until" command to pdb ........ r63062 | georg.brandl | 2008-05-11 10:17:13 -0400 (Sun, 11 May 2008) | 2 lines Add some sentence endings. ........
* Remove many "versionchanged" items that didn't use the official markup,Georg Brandl2008-05-121-3/+1
| | | | | | but just some text embedded in the docs. Also remove paragraph about implicit relative imports from tutorial.
* Merged revisions 62490 via svnmerge fromBenjamin Peterson2008-04-251-61/+62
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r62490 | benjamin.peterson | 2008-04-24 20:29:10 -0500 (Thu, 24 Apr 2008) | 2 lines reformat some documentation of classes so methods and attributes are under the class directive ........
* Partial py3k-ification of Doc/library/: convert has_key references into ↵Collin Winter2007-09-011-2/+2
| | | | either 'k in d' or __contains__; normalize raise statements; convert print statements into print function calls.
* Get rid of the remaining versionadded/versionchanged directives.Georg Brandl2007-09-011-5/+0
|
* Move the 3k reST doc tree in place.Georg Brandl2007-08-151-0/+192