diff options
author | Guido van Rossum <guido@python.org> | 1997-02-15 18:33:24 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-02-15 18:33:24 (GMT) |
commit | 9580609ba30d86fe33aa8c119644403ed68e428b (patch) | |
tree | b1425ec5ae5077efea56434da6e0aa0a58a3296f /Objects/fileobject.c | |
parent | 10efb05d517d9d33416083cf2d9aba1cc93a5ffe (diff) | |
download | cpython-9580609ba30d86fe33aa8c119644403ed68e428b.zip cpython-9580609ba30d86fe33aa8c119644403ed68e428b.tar.gz cpython-9580609ba30d86fe33aa8c119644403ed68e428b.tar.bz2 |
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.
Diffstat (limited to 'Objects/fileobject.c')
0 files changed, 0 insertions, 0 deletions