mirror of
https://github.com/python/cpython.git
synced 2025-07-28 21:55:21 +00:00
Tkinter rename reversal: remove tkinter package, adapt imports and docs.
This commit is contained in:
parent
33cece05b9
commit
6634bf2919
74 changed files with 227 additions and 7971 deletions
|
@ -218,23 +218,7 @@ class TestStdlibRenames(unittest.TestCase):
|
|||
renames = {'copy_reg': 'copyreg', 'Queue': 'queue',
|
||||
'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'
|
||||
}
|
||||
'repr': 'reprlib'}
|
||||
|
||||
def check_rename(self, module_name, new_module_name):
|
||||
"""Make sure that:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue