commit | 9580609ba30d86fe33aa8c119644403ed68e428b | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sat Feb 15 18:33:24 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Sat Feb 15 18:33:24 1997 +0000 |
tree | b1425ec5ae5077efea56434da6e0aa0a58a3296f | |
parent | 10efb05d517d9d33416083cf2d9aba1cc93a5ffe [diff] |
Require _tkinter -- don't attempt to import tkinter when _tkinter does not exist. All 8 uses of tkinter are replaced with _tkinter. Still create a variable tkinter though, because that is used by other modules importing Tkinter (e.g. tkinter.createfilehandler()). Also added a comment to the 'import _tkinter' line saying that if this fails, Python is not configured correctly.