commit | ad9afeb8f02db9a13d2ed8e45361ecbc0d19bd32 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Fri May 16 15:48:15 2008 +0000 |
committer | Georg Brandl <georg@python.org> | Fri May 16 15:48:15 2008 +0000 |
tree | 40cd28e4b9d339d38ac00792f37948fdef291cbf | |
parent | bbc57d73a0f0d1476d9c23b920ecc1ef8212a554 [diff] [blame] |
Tkinter rename, step 2: fix imports and add stub modules.
diff --git a/Lib/lib-tk/tkFont.py b/Lib/lib-tk/tkFont.py new file mode 100644 index 0000000..0e12bc0 --- /dev/null +++ b/Lib/lib-tk/tkFont.py
@@ -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