bpo-38862: IDLE Strip Trailing Whitespace fixes end newlines (GH-17… · python/cpython@6bf644e

@@ -4,7 +4,7 @@

44

<html xmlns="http://www.w3.org/1999/xhtml">

55

<head>

66

<meta charset="utf-8" />

7-

<title>IDLE &#8212; Python 3.9.0a0 documentation</title>

7+

<title>IDLE &#8212; Python 3.9.0a1 documentation</title>

88

<link rel="stylesheet" href="../_static/pydoctheme.css" type="text/css" />

99

<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />

1010

@@ -17,14 +17,14 @@

1717

<script type="text/javascript" src="../_static/sidebar.js"></script>

18181919

<link rel="search" type="application/opensearchdescription+xml"

20-

title="Search within Python 3.9.0a0 documentation"

20+

title="Search within Python 3.9.0a1 documentation"

2121

href="../_static/opensearch.xml"/>

2222

<link rel="author" title="About these documents" href="../about.html" />

2323

<link rel="index" title="Index" href="../genindex.html" />

2424

<link rel="search" title="Search" href="../search.html" />

2525

<link rel="copyright" title="Copyright" href="../copyright.html" />

2626

<link rel="next" title="Other Graphical User Interface Packages" href="othergui.html" />

27-

<link rel="prev" title="tkinter.scrolledtextScrolled Text Widget" href="tkinter.scrolledtext.html" />

27+

<link rel="prev" title="tkinter.tixExtension widgets for Tk" href="tkinter.tix.html" />

2828

<link rel="canonical" href="https://docs.python.org/3/library/idle.html" />

29293030

@@ -62,7 +62,7 @@ <h3>Navigation</h3>

6262

<a href="othergui.html" title="Other Graphical User Interface Packages"

6363

accesskey="N">next</a> |</li>

6464

<li class="right" >

65-

<a href="tkinter.scrolledtext.html" title="tkinter.scrolledtextScrolled Text Widget"

65+

<a href="tkinter.tix.html" title="tkinter.tixExtension widgets for Tk"

6666

accesskey="P">previous</a> |</li>

67676868

<li><img src="../_static/py.png" alt=""

@@ -71,7 +71,7 @@ <h3>Navigation</h3>

717172727373

<li>

74-

<a href="../index.html">3.9.0a0 Documentation</a> &#187;

74+

<a href="../index.html">3.9.0a1 Documentation</a> &#187;

7575

</li>

76767777

<li class="nav-item nav-item-1"><a href="index.html" >The Python Standard Library</a> &#187;</li>

@@ -240,7 +240,8 @@ <h3>Edit menu (Shell and Editor)<a class="headerlink" href="#edit-menu-shell-and

240240

</dd>

241241

<dt>Strip trailing whitespace</dt><dd><p>Remove trailing space and other whitespace characters after the last

242242

non-whitespace character of a line by applying str.rstrip to each line,

243-

including lines within multiline strings.</p>

243+

including lines within multiline strings. Except for Shell windows,

244+

remove extra newlines at the end of the file.</p>

244245

</dd>

245246

</dl>

246247

</div>

@@ -886,8 +887,8 @@ <h3><a href="../contents.html">Table of Contents</a></h3>

886887

</ul>

887888888889

<h4>Previous topic</h4>

889-

<p class="topless"><a href="tkinter.scrolledtext.html"

890-

title="previous chapter"><code class="xref py py-mod docutils literal notranslate"><span class="pre">tkinter.scrolledtext</span></code>Scrolled Text Widget</a></p>

890+

<p class="topless"><a href="tkinter.tix.html"

891+

title="previous chapter"><code class="xref py py-mod docutils literal notranslate"><span class="pre">tkinter.tix</span></code>Extension widgets for Tk</a></p>

891892

<h4>Next topic</h4>

892893

<p class="topless"><a href="othergui.html"

893894

title="next chapter">Other Graphical User Interface Packages</a></p>

@@ -919,7 +920,7 @@ <h3>Navigation</h3>

919920

<a href="othergui.html" title="Other Graphical User Interface Packages"

920921

>next</a> |</li>

921922

<li class="right" >

922-

<a href="tkinter.scrolledtext.html" title="tkinter.scrolledtextScrolled Text Widget"

923+

<a href="tkinter.tix.html" title="tkinter.tixExtension widgets for Tk"

923924

>previous</a> |</li>

924925925926

<li><img src="../_static/py.png" alt=""

@@ -928,7 +929,7 @@ <h3>Navigation</h3>

928929929930930931

<li>

931-

<a href="../index.html">3.9.0a0 Documentation</a> &#187;

932+

<a href="../index.html">3.9.0a1 Documentation</a> &#187;

932933

</li>

933934934935

<li class="nav-item nav-item-1"><a href="index.html" >The Python Standard Library</a> &#187;</li>

@@ -959,11 +960,11 @@ <h3>Navigation</h3>

959960

<br />

960961

<br />

961962962-

Last updated on Sep 01, 2019.

963+

Last updated on Nov 24, 2019.

963964

<a href="https://docs.python.org/3/bugs.html">Found a bug</a>?

964965

<br />

965966966-

Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 2.1.2.

967+

Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 2.1.1.

967968

</div>

968969969970

</body>