@@ -29,18 +29,11 @@ functions should be good enough; otherwise, you should use an instance of
2929 newlines. *width * defaults to ``70 ``.
3030
3131 See :class: `TextWrapper ` for documentation on all additional optional
32- arguments:
33-
34- * :attr: `.initial_indent `
35- * :attr: `.subsequent_indent `
36- * :attr: `.expand_tabs `
37- * :attr: `.replace_whitespace `
38- * :attr: `.fix_sentence_endings `
39- * :attr: `.break_long_words `
40- * :attr: `.drop_whitespace `
41- * :attr: `.break_on_hyphens `
42- * :attr: `.tabsize `
43- * :attr: `.max_lines `
32+ arguments: :attr: `.initial_indent `, :attr: `.subsequent_indent `,
33+ :attr: `.expand_tabs `, :attr: `.replace_whitespace `,
34+ :attr: `.fix_sentence_endings `, :attr: `.break_long_words `,
35+ :attr: `.drop_whitespace `, :attr: `.break_on_hyphens ` :attr: `.tabsize `, and
36+ :attr: `.max_lines `.
4437
4538
4639.. function :: fill(text, width=70, initial_indent="", \
@@ -56,18 +49,8 @@ functions should be good enough; otherwise, you should use an instance of
5649 "\n".join(wrap(text, ...))
5750
5851 See :class: `TextWrapper ` for documentation on all additional optional
59- arguments:
60-
61- * :attr: `.initial_indent `
62- * :attr: `.subsequent_indent `
63- * :attr: `.expand_tabs `
64- * :attr: `.replace_whitespace `
65- * :attr: `.fix_sentence_endings `
66- * :attr: `.break_long_words `
67- * :attr: `.drop_whitespace `
68- * :attr: `.break_on_hyphens `
69- * :attr: `.tabsize `
70- * :attr: `.max_lines `
52+ arguments, which are the same as the optional arguments to :func: `wrap `
53+ above.
7154
7255
7356.. function :: shorten(text, width, initial_indent="", \
@@ -90,15 +73,9 @@ functions should be good enough; otherwise, you should use an instance of
9073 'Hello...'
9174
9275 See :class: `TextWrapper ` for documentation on all additional optional
93- arguments:
94-
95- * :attr: `.initial_indent `
96- * :attr: `.subsequent_indent `
97- * :attr: `.fix_sentence_endings `
98- * :attr: `.break_long_words `
99- * :attr: `.break_on_hyphens `
100- * :attr: `.max_lines `
101-
76+ arguments: :attr: `.initial_indent `, :attr: `.subsequent_indent `,
77+ :attr: `.fix_sentence_endings `, :attr: `.break_long_words `,
78+ :attr: `.break_on_hyphens `, and :attr: `.max_lines `.
10279
10380 Note that the whitespace is collapsed before the text is passed to the
10481 :class: `TextWrapper ` :meth: `fill ` function, so changing the value of
0 commit comments