mirror of
https://github.com/python/cpython.git
synced 2025-07-28 13:44:43 +00:00
Tkinter rename, step 2: fix imports and add stub modules.
This commit is contained in:
parent
bbc57d73a0
commit
ad9afeb8f0
53 changed files with 206 additions and 85 deletions
|
@ -212,6 +212,21 @@ class TestStdlibRenames(unittest.TestCase):
|
|||
'SocketServer': 'socketserver',
|
||||
'ConfigParser': 'configparser',
|
||||
'repr': 'reprlib',
|
||||
'FileDialog': 'tkinter.filedialog',
|
||||
'FixTk': 'tkinter._fix',
|
||||
'ScrolledText': 'tkinter.scrolledtext',
|
||||
'SimpleDialog': 'tkinter.simpledialog',
|
||||
'Tix': 'tkinter.tix',
|
||||
'tkColorChooser': 'tkinter.colorchooser',
|
||||
'tkCommonDialog': 'tkinter.commondialog',
|
||||
'Tkconstants': 'tkinter.constants',
|
||||
'Tkdnd': 'tkinter.dnd',
|
||||
'tkFileDialog': 'tkinter.filedialog',
|
||||
'tkFont': 'tkinter.font',
|
||||
'Tkinter': 'tkinter',
|
||||
'tkMessageBox': 'tkinter.messagebox',
|
||||
'tkSimpleDialog': 'tkinter.simpledialog',
|
||||
'turtle': 'tkinter.turtle'
|
||||
}
|
||||
|
||||
def check_rename(self, module_name, new_module_name):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue