mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
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:
parent
87a927325e
commit
a361e89d5a
8 changed files with 24 additions and 22 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue