From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 30 Aug 2019 20:36:06 +0000 (-0700) Subject: IDLE: Fix 2 typos found by Min ho Kim. (GH-15617) X-Git-Tag: v3.8.0rc1~302 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3d75857dfa0e50dd6e5439e8bd92c07c5d5e9839;p=python IDLE: Fix 2 typos found by Min ho Kim. (GH-15617) (cherry picked from commit 15119bc2a7e902ae1c6988556c3bef3de87fa789) Co-authored-by: Terry Jan Reedy --- diff --git a/Lib/idlelib/README.txt b/Lib/idlelib/README.txt index 42c3506699..48a1f4a425 100644 --- a/Lib/idlelib/README.txt +++ b/Lib/idlelib/README.txt @@ -115,7 +115,7 @@ tooltip.py # unused IDLE MENUS Top level items and most submenu items are defined in mainmenu. -Extenstions add submenu items when active. The names given are +Extensions add submenu items when active. The names given are found, quoted, in one of these modules, paired with a '<>'. Each pseudoevent is bound to an event handler. Some event handlers call another function that does the actual work. The annotations below diff --git a/Lib/idlelib/browser.py b/Lib/idlelib/browser.py index e5b0bc53c6..3c3a53a659 100644 --- a/Lib/idlelib/browser.py +++ b/Lib/idlelib/browser.py @@ -29,7 +29,7 @@ def transform_children(child_dict, modname=None): The dictionary maps names to pyclbr information objects. Filter out imported objects. Augment class names with bases. - The insertion order of the dictonary is assumed to have been in line + The insertion order of the dictionary is assumed to have been in line number order, so sorting is not necessary. The current tree only calls this once per child_dict as it saves