diff --git a/Lib/idlelib/README.txt b/Lib/idlelib/README.txt index 42c3506699ba07..48a1f4a425c9e3 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 e5b0bc53c66240..3c3a53a6599a79 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