]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove garbage '+ ' and reformat tag_delete function budy
authorGuido van Rossum <guido@python.org>
Wed, 6 Jul 1994 10:20:11 +0000 (10:20 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 6 Jul 1994 10:20:11 +0000 (10:20 +0000)
Lib/lib-tk/Tkinter.py
Lib/tkinter/Tkinter.py

index c3ee52bf6efba5b605b9059accdceeb0219b7fad..89255b98f553400006ad995fdc010ce84c0e448a 100644 (file)
@@ -610,7 +610,7 @@ class Widget(Misc, Pack, Place):
                apply(self.tk.call, (widgetName, self._w) + extra)
                Widget.config(self, cnf)
        def config(self, cnf=None):
-+              cnf = _cnfmerge(cnf)
+               cnf = _cnfmerge(cnf)
                if cnf is None:
                        cnf = {}
                        for x in self.tk.split(
@@ -1076,8 +1076,7 @@ class Text(Widget):
                      (self._w, 'tag', 'configure', tagName) 
                      + self._options(cnf))
        def tag_delete(self, *tagNames):
-               apply(self.tk.call, (self._w, 'tag', 'delete') 
-                     + tagNames)
+               apply(self.tk.call, (self._w, 'tag', 'delete') + tagNames)
        def tag_lower(self, tagName, belowThis=None):
                self.tk.call(self._w, 'tag', 'lower', 
                             tagName, belowThis)
index c3ee52bf6efba5b605b9059accdceeb0219b7fad..89255b98f553400006ad995fdc010ce84c0e448a 100755 (executable)
@@ -610,7 +610,7 @@ class Widget(Misc, Pack, Place):
                apply(self.tk.call, (widgetName, self._w) + extra)
                Widget.config(self, cnf)
        def config(self, cnf=None):
-+              cnf = _cnfmerge(cnf)
+               cnf = _cnfmerge(cnf)
                if cnf is None:
                        cnf = {}
                        for x in self.tk.split(
@@ -1076,8 +1076,7 @@ class Text(Widget):
                      (self._w, 'tag', 'configure', tagName) 
                      + self._options(cnf))
        def tag_delete(self, *tagNames):
-               apply(self.tk.call, (self._w, 'tag', 'delete') 
-                     + tagNames)
+               apply(self.tk.call, (self._w, 'tag', 'delete') + tagNames)
        def tag_lower(self, tagName, belowThis=None):
                self.tk.call(self._w, 'tag', 'lower', 
                             tagName, belowThis)