]> granicus.if.org Git - python/commit
Save a tiny bit of time: self.tk.call takes a tuple argument so it's
authorGuido van Rossum <guido@python.org>
Wed, 29 Apr 1998 21:57:08 +0000 (21:57 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 29 Apr 1998 21:57:08 +0000 (21:57 +0000)
commitf975699c0767ac02f0e50cd45023080799e98b5e
tree3d8c849fef98468290cf6c100b57d2bf55732448
parentf0c891a2b2ed16a34ab433f6e084adf9c4647d25
Save a tiny bit of time: self.tk.call takes a tuple argument so it's
not needed to say apply(self.tk.call, t); self.tk.call(t) has the same
effect.  This cuts down tremendously on the number of apply() calls
made.  No measurable effect, but at the very least it saves the lookup
of apply() in the globals!
Lib/lib-tk/Tkinter.py