File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,9 @@ Format Paragraph
190
190
paragraph will be formatted to less than N columns, where N defaults to 72.
191
191
192
192
Strip trailing whitespace
193
- Remove any space characters after the last non-space character of a line.
193
+ Remove trailing space and other whitespace characters after the last
194
+ non-whitespace character of a line by applying str.rstrip to each line,
195
+ including lines within multiline strings.
194
196
195
197
.. index ::
196
198
single: Run script
Original file line number Diff line number Diff line change @@ -227,7 +227,9 @@ <h3>25.5.1.3. Format menu (Editor window only)<a class="headerlink" href="#forma
227
227
multiline string or selected line in a string. All lines in the
228
228
paragraph will be formatted to less than N columns, where N defaults to 72.</ dd >
229
229
< dt > Strip trailing whitespace</ dt >
230
- < dd > Remove any space characters after the last non-space character of a line.</ dd >
230
+ < dd > Remove trailing space and other whitespace characters after the last
231
+ non-whitespace character of a line by applying str.rstrip to each line,
232
+ including lines within multiline strings.</ dd >
231
233
</ dl >
232
234
</ div >
233
235
< div class ="section " id ="run-menu-editor-window-only ">
@@ -779,7 +781,7 @@ <h3>Navigation</h3>
779
781
The Python Software Foundation is a non-profit corporation.
780
782
< a href ="https://www.python.org/psf/donations/ "> Please donate.</ a >
781
783
< br />
782
- Last updated on Sep 12 , 2017.
784
+ Last updated on Sep 15 , 2017.
783
785
< a href ="../bugs.html "> Found a bug</ a > ?
784
786
< br />
785
787
Created using < a href ="http://sphinx.pocoo.org/ "> Sphinx</ a > 1.3.6.
Original file line number Diff line number Diff line change
1
+ IDLE - Improve rstrip entry in doc. Strip trailing whitespace strips more
2
+ than blank spaces. Multiline string literals are not skipped.
You can’t perform that action at this time.
0 commit comments