bpo-33906: Rename idlelib.windows as window (#7833)

Match Window on the main menu and remove last plural module name.
Change imports, test, and attribute references to match new name.
This commit is contained in:
Terry Jan Reedy 2018-06-20 21:25:59 -04:00 committed by GitHub
parent 87a927325e
commit a361e89d5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 24 additions and 22 deletions

View file

@ -6,7 +6,7 @@ from tkinter.ttk import Scrollbar
from idlelib import macosx
from idlelib.scrolledlist import ScrolledList
from idlelib.windows import ListedToplevel
from idlelib.window import ListedToplevel
class Idb(bdb.Bdb):
@ -40,7 +40,7 @@ class Idb(bdb.Bdb):
prev_name = prev_frame.f_code.co_filename
if 'idlelib' in prev_name and 'debugger' in prev_name:
# catch both idlelib/debugger.py and idlelib/debugger_r.py
# on both posix and windows
# on both Posix and Windows
return False
return self.in_rpc_code(prev_frame)