diff options
author | Raymond Hettinger <python@rcn.com> | 2011-01-10 03:26:08 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2011-01-10 03:26:08 (GMT) |
commit | 10480940373492652bc285fca3fa74751c271645 (patch) | |
tree | bb1bfed3416120cc371eb884960cf73aad9a957e /Doc/library/textwrap.rst | |
parent | a4815caa7ccf21aa994d0e0eec66873072f0e352 (diff) | |
download | cpython-10480940373492652bc285fca3fa74751c271645.zip cpython-10480940373492652bc285fca3fa74751c271645.tar.gz cpython-10480940373492652bc285fca3fa74751c271645.tar.bz2 |
Move source links to consistent location and remove wordy, big yellow boxes.
Diffstat (limited to 'Doc/library/textwrap.rst')
-rw-r--r-- | Doc/library/textwrap.rst | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Doc/library/textwrap.rst b/Doc/library/textwrap.rst index 860f81f..74e5b2e 100644 --- a/Doc/library/textwrap.rst +++ b/Doc/library/textwrap.rst @@ -6,6 +6,7 @@ .. moduleauthor:: Greg Ward <gward@python.net> .. sectionauthor:: Greg Ward <gward@python.net> +**Source code:** :source:`Lib/textwrap.py` The :mod:`textwrap` module provides two convenience functions, :func:`wrap` and :func:`fill`, as well as :class:`TextWrapper`, the class that does all the work, @@ -13,11 +14,6 @@ and a utility function :func:`dedent`. If you're just wrapping or filling one or two text strings, the convenience functions should be good enough; otherwise, you should use an instance of :class:`TextWrapper` for efficiency. -.. seealso:: - - Latest version of the :source:`textwrap module Python source code - <Lib/textwrap.py>` - .. function:: wrap(text, width=70, **kwargs) Wraps the single paragraph in *text* (a string) so every line is at most |