Georg Brandl | 8291f8e | 2008-05-17 15:21:58 +0000 | [diff] [blame] | 1 | import sys |
| 2 | from warnings import warnpy3k |
Guido van Rossum | f55afae | 1997-08-12 18:21:21 +0000 | [diff] [blame] | 3 | |
Georg Brandl | 8291f8e | 2008-05-17 15:21:58 +0000 | [diff] [blame] | 4 | warnpy3k("the tkSimpleDialog module has been renamed " |
| 5 | "to 'tkinter.simpledialog' in Python 3.0", stacklevel=2) |
Guido van Rossum | f55afae | 1997-08-12 18:21:21 +0000 | [diff] [blame] | 6 | |
Georg Brandl | 8291f8e | 2008-05-17 15:21:58 +0000 | [diff] [blame] | 7 | import tkinter.simpledialog |
| 8 | sys.modules[__name__] = tkinter.simpledialog |