mirror of
https://github.com/python/cpython.git
synced 2025-07-31 23:23:11 +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
8
Lib/lib-tk/tkFont.py
Normal file
8
Lib/lib-tk/tkFont.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue