mirror of
https://github.com/python/cpython.git
synced 2025-10-26 03:04:41 +00:00
9 lines
227 B
Python
9 lines
227 B
Python
|
|
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
|