You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Lib/idlelib/help.html
+42-11
Original file line number
Diff line number
Diff line change
@@ -501,8 +501,14 @@ <h3>Calltips<a class="headerlink" href="#calltips" title="Permalink to this head
501
501
</div>
502
502
<divclass="section" id="python-shell-window">
503
503
<h3>Python Shell window<aclass="headerlink" href="#python-shell-window" title="Permalink to this headline">¶</a></h3>
504
-
<p>The editing features described above work when entering code interactively.
505
-
IDLE’s Shell window also responds to the following keys.</p>
504
+
<p>With IDLE’s Shell, one enters, edits, and recalls complete statements.
505
+
Most consoles and terminals only work with a single physical line at a time.</p>
506
+
<p>When one pastes code into Shell, it is not compiled and possibly executed
507
+
until one hits <kbdclass="kbd docutils literal notranslate">Return</kbd>. One may edit pasted code first.
508
+
If one pastes more that one statement into Shell, the result will be a
509
+
<aclass="reference internal" href="exceptions.html#SyntaxError" title="SyntaxError"><codeclass="xref py py-exc docutils literal notranslate"><spanclass="pre">SyntaxError</span></code></a> when multiple statements are compiled as if they were one.</p>
510
+
<p>The editing features described in previous subsections work when entering
511
+
code interactively. IDLE’s Shell window also responds to the following keys.</p>
0 commit comments