@@ -554,7 +557,7 @@ the new character is entered in the new space.
delete characters. Deletion does not puts text on the clipboard,
but IDLE has an undo list. Wherever this doc discusses keys,
‘C’ refers to the Control key on Windows and
-Unix and the Command key on macOS. (And all such dicussions
+Unix and the Command key on macOS. (And all such discussions
assume that the keys have not been re-bound to something else.)
Arrow keys move the cursor one character or line.
@@ -562,8 +565,8 @@ assume that the keys have not been re-bound to something else.)
Home and End go to the beginning or end of the line.
Page Up and Page Down go up or down one screen.
C-Home and C-End go to beginning or end of the file.
-
Backspace and Del (or C-d) delete the previous or
-next character.
+
Backspace and Del (or C-d) delete the previous
+or next character.
C-Backspace and C-Del delete one word left or right.
C-k deletes (‘kills’) everything to the right.
@@ -694,7 +697,7 @@ in an editor window.
The editing features described in previous subsections work when entering
code interactively. IDLE’s Shell window also responds to the following:
-
C-c attemps to interrupt statement execution (but may fail).
+
C-c attempts to interrupt statement execution (but may fail).
C-d closes Shell if typed at a >>> prompt.
Alt-p and Alt-n (C-p and C-n on macOS)
retrieve to the current prompt the previous or next previously
@@ -1136,7 +1139,7 @@ sense that feature changes can be backported (see
- 3.13.0a2 Documentation »
+ 3.14.0a0 Documentation »
@@ -1180,7 +1183,7 @@ sense that feature changes can be backported (see Found a bug?
diff --git a/Lib/idlelib/run.py b/Lib/idlelib/run.py
index 8f98e73258e..a30db99a619 100644
--- a/Lib/idlelib/run.py
+++ b/Lib/idlelib/run.py
@@ -108,11 +108,11 @@ else:
# Thread shared globals: Establish a queue between a subthread (which handles
# the socket) and the main thread (which runs user code), plus global
-# completion, exit and interruptable (the main thread) flags:
+# completion, exit and interruptible (the main thread) flags:
exit_now = False
quitting = False
-interruptable = False
+interruptible = False
def main(del_exitfunc=False):
"""Start the Python execution server in a subprocess
@@ -582,14 +582,14 @@ class Executive:
self.locals = {}
def runcode(self, code):
- global interruptable
+ global interruptible
try:
self.user_exc_info = None
- interruptable = True
+ interruptible = True
try:
exec(code, self.locals)
finally:
- interruptable = False
+ interruptible = False
except SystemExit as e:
if e.args: # SystemExit called with an argument.
ob = e.args[0]
@@ -615,7 +615,7 @@ class Executive:
flush_stdout()
def interrupt_the_server(self):
- if interruptable:
+ if interruptible:
thread.interrupt_main()
def start_the_debugger(self, gui_adap_oid):