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
190190 paragraph will be formatted to less than N columns, where N defaults to 72.
191191
192192Strip 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.
194196
195197.. index ::
196198 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
227227multiline string or selected line in a string. All lines in the
228228paragraph will be formatted to less than N columns, where N defaults to 72.</ dd >
229229< 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 >
231233</ dl >
232234</ div >
233235< div class ="section " id ="run-menu-editor-window-only ">
@@ -779,7 +781,7 @@ <h3>Navigation</h3>
779781 The Python Software Foundation is a non-profit corporation.
780782 < a href ="https://www.python.org/psf/donations/ "> Please donate.</ a >
781783 < br />
782- Last updated on Sep 12 , 2017.
784+ Last updated on Sep 15 , 2017.
783785 < a href ="../bugs.html "> Found a bug</ a > ?
784786 < br />
785787 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