Skip to content

[3.6] bpo-314777: IDLE - improve rstrip entry in doc (GH-3602) #3605

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 15, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Doc/library/idle.rst
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,9 @@ Format Paragraph
paragraph will be formatted to less than N columns, where N defaults to 72.

Strip trailing whitespace
Remove any space characters after the last non-space character of a line.
Remove trailing space and other whitespace characters after the last
non-whitespace character of a line by applying str.rstrip to each line,
including lines within multiline strings.

.. index::
single: Run script
Expand Down
6 changes: 4 additions & 2 deletions Lib/idlelib/help.html
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,9 @@ <h3>25.5.1.3. Format menu (Editor window only)<a class="headerlink" href="#forma
multiline string or selected line in a string. All lines in the
paragraph will be formatted to less than N columns, where N defaults to 72.</dd>
<dt>Strip trailing whitespace</dt>
<dd>Remove any space characters after the last non-space character of a line.</dd>
<dd>Remove trailing space and other whitespace characters after the last
non-whitespace character of a line by applying str.rstrip to each line,
including lines within multiline strings.</dd>
</dl>
</div>
<div class="section" id="run-menu-editor-window-only">
Expand Down Expand Up @@ -779,7 +781,7 @@ <h3>Navigation</h3>
The Python Software Foundation is a non-profit corporation.
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
Last updated on Sep 12, 2017.
Last updated on Sep 15, 2017.
<a href="../bugs.html">Found a bug</a>?
<br />
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.3.6.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
IDLE - Improve rstrip entry in doc. Strip trailing whitespace strips more
than blank spaces. Multiline string literals are not skipped.