mirror of https://github.com/python/cpython
Tkinter renaming reversal: Delete all stubs from lib-tk.
This commit is contained in:
parent
7bb1653cc3
commit
248e3a8b7f
|
@ -1,8 +0,0 @@
|
|||
import sys
|
||||
from warnings import warnpy3k
|
||||
|
||||
warnpy3k("the FileDialog module has been renamed "
|
||||
"to 'tkinter.filedialog' in Python 3.0", stacklevel=2)
|
||||
|
||||
import tkinter.filedialog
|
||||
sys.modules[__name__] = tkinter.filedialog
|
|
@ -1,8 +0,0 @@
|
|||
import sys
|
||||
from warnings import warnpy3k
|
||||
|
||||
warnpy3k("the FixTk module has been renamed "
|
||||
"to 'tkinter._fix' in Python 3.0", stacklevel=2)
|
||||
|
||||
import tkinter._fix
|
||||
sys.modules[__name__] = tkinter._fix
|
|
@ -1,8 +0,0 @@
|
|||
import sys
|
||||
from warnings import warnpy3k
|
||||
|
||||
warnpy3k("the ScrolledText module has been renamed "
|
||||
"to 'tkinter.scrolledtext' in Python 3.0", stacklevel=2)
|
||||
|
||||
import tkinter.scrolledtext
|
||||
sys.modules[__name__] = tkinter.scrolledtext
|
|
@ -1,8 +0,0 @@
|
|||
import sys
|
||||
from warnings import warnpy3k
|
||||
|
||||
warnpy3k("the SimpleDialog module has been renamed "
|
||||
"to 'tkinter.simpledialog' in Python 3.0", stacklevel=2)
|
||||
|
||||
import tkinter.simpledialog
|
||||
sys.modules[__name__] = tkinter.simpledialog
|
|
@ -1,8 +0,0 @@
|
|||
import sys
|
||||
from warnings import warnpy3k
|
||||
|
||||
warnpy3k("the Tix module has been renamed "
|
||||
"to 'tkinter.tix' in Python 3.0", stacklevel=2)
|
||||
|
||||
import tkinter.tix
|
||||
sys.modules[__name__] = tkinter.tix
|
|
@ -1,8 +0,0 @@
|
|||
import sys
|
||||
from warnings import warnpy3k
|
||||
|
||||
warnpy3k("the Tkconstants module has been renamed "
|
||||
"to 'tkinter.constants' in Python 3.0", stacklevel=2)
|
||||
|
||||
import tkinter.constants
|
||||
sys.modules[__name__] = tkinter.constants
|
|
@ -1,8 +0,0 @@
|
|||
import sys
|
||||
from warnings import warnpy3k
|
||||
|
||||
warnpy3k("the Tkdnd module has been renamed "
|
||||
"to 'tkinter.dnd' in Python 3.0", stacklevel=2)
|
||||
|
||||
import tkinter.dnd
|
||||
sys.modules[__name__] = tkinter.dnd
|
|
@ -1,8 +0,0 @@
|
|||
import sys
|
||||
from warnings import warnpy3k
|
||||
|
||||
warnpy3k("the Tkinter module has been renamed "
|
||||
"to 'tkinter' in Python 3.0", stacklevel=2)
|
||||
|
||||
import tkinter
|
||||
sys.modules[__name__] = tkinter
|
|
@ -1,8 +0,0 @@
|
|||
import sys
|
||||
from warnings import warnpy3k
|
||||
|
||||
warnpy3k("the tkColorChooser module has been renamed "
|
||||
"to 'tkinter.colorchooser' in Python 3.0", stacklevel=2)
|
||||
|
||||
import tkinter.colorchooser
|
||||
sys.modules[__name__] = tkinter.colorchooser
|
|
@ -1,8 +0,0 @@
|
|||
import sys
|
||||
from warnings import warnpy3k
|
||||
|
||||
warnpy3k("the tkCommonDialog module has been renamed "
|
||||
"to 'tkinter.commondialog' in Python 3.0", stacklevel=2)
|
||||
|
||||
import tkinter.commondialog
|
||||
sys.modules[__name__] = tkinter.commondialog
|
|
@ -1,8 +0,0 @@
|
|||
import sys
|
||||
from warnings import warnpy3k
|
||||
|
||||
warnpy3k("the tkFileDialog module has been renamed "
|
||||
"to 'tkinter.filedialog' in Python 3.0", stacklevel=2)
|
||||
|
||||
import tkinter.filedialog
|
||||
sys.modules[__name__] = tkinter.filedialog
|
|
@ -1,8 +0,0 @@
|
|||
import sys
|
||||
from warnings import warnpy3k
|
||||
|
||||
warnpy3k("the tkFont module has been renamed "
|
||||
"to 'tkinter.font' in Python 3.0", stacklevel=2)
|
||||
|
||||
import tkinter.font
|
||||
sys.modules[__name__] = tkinter.font
|
|
@ -1,8 +0,0 @@
|
|||
import sys
|
||||
from warnings import warnpy3k
|
||||
|
||||
warnpy3k("the tkMessageBox module has been renamed "
|
||||
"to 'tkinter.messagebox' in Python 3.0", stacklevel=2)
|
||||
|
||||
import tkinter.messagebox
|
||||
sys.modules[__name__] = tkinter.messagebox
|
|
@ -1,8 +0,0 @@
|
|||
import sys
|
||||
from warnings import warnpy3k
|
||||
|
||||
warnpy3k("the tkSimpleDialog module has been renamed "
|
||||
"to 'tkinter.simpledialog' in Python 3.0", stacklevel=2)
|
||||
|
||||
import tkinter.simpledialog
|
||||
sys.modules[__name__] = tkinter.simpledialog
|
|
@ -1,8 +0,0 @@
|
|||
import sys
|
||||
from warnings import warnpy3k
|
||||
|
||||
warnpy3k("the turtle module has been renamed "
|
||||
"to 'tkinter.turtle' in Python 3.0", stacklevel=2)
|
||||
|
||||
import tkinter.turtle
|
||||
sys.modules[__name__] = tkinter.turtle
|
Loading…
Reference in New Issue