summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk/Tkinter.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-09-15 04:41:22 (GMT)
committerFred Drake <fdrake@acm.org>2000-09-15 04:41:22 (GMT)
commitd2a5ad25d5f6734c919bd40ee26c3e11b98d6bc3 (patch)
tree503dff84cb022e711f32fbdc9e2a417c61f50fad /Lib/lib-tk/Tkinter.py
parent10515b6483b622625838b3636dbb442097bfe7ef (diff)
downloadcpython-d2a5ad25d5f6734c919bd40ee26c3e11b98d6bc3.zip
cpython-d2a5ad25d5f6734c919bd40ee26c3e11b98d6bc3.tar.gz
cpython-d2a5ad25d5f6734c919bd40ee26c3e11b98d6bc3.tar.bz2
Removed some debugging prints: When running user configuration code
from Tk.readprofile(), do not print anything extra to stdout, just run the code.
Diffstat (limited to 'Lib/lib-tk/Tkinter.py')
-rw-r--r--Lib/lib-tk/Tkinter.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py
index 31b072c..5f1465c 100644
--- a/Lib/lib-tk/Tkinter.py
+++ b/Lib/lib-tk/Tkinter.py
@@ -1530,16 +1530,12 @@ class Tk(Misc, Wm):
dir = {'self': self}
exec 'from Tkinter import *' in dir
if os.path.isfile(class_tcl):
- print 'source', `class_tcl`
self.tk.call('source', class_tcl)
if os.path.isfile(class_py):
- print 'execfile', `class_py`
execfile(class_py, dir)
if os.path.isfile(base_tcl):
- print 'source', `base_tcl`
self.tk.call('source', base_tcl)
if os.path.isfile(base_py):
- print 'execfile', `base_py`
execfile(base_py, dir)
def report_callback_exception(self, exc, val, tb):
"""Internal function. It reports exception on sys.stderr."""