IDLE: Fix 2 typos found by Min ho Kim. (GH-15617)

https://github.com/python/cpython/commit/9a28400aace26597b35950ac561d49c102b... commit: 9a28400aace26597b35950ac561d49c102b6daf4 branch: 3.7 author: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> committer: GitHub <noreply@github.com> date: 2019-08-30T13:34:48-07:00 summary: IDLE: Fix 2 typos found by Min ho Kim. (GH-15617) (cherry picked from commit 15119bc2a7e902ae1c6988556c3bef3de87fa789) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> files: M Lib/idlelib/README.txt M Lib/idlelib/browser.py diff --git a/Lib/idlelib/README.txt b/Lib/idlelib/README.txt index 42c3506699ba..48a1f4a425c9 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 '<<pseudoevent>>'. 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 e5b0bc53c662..3c3a53a6599a 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
participants (1)
-
Miss Islington (bot)