]> granicus.if.org Git - python/commitdiff
Add missing comma to make a tuple of (tagOrId).
authorGuido van Rossum <guido@python.org>
Mon, 18 Aug 1997 14:44:04 +0000 (14:44 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 18 Aug 1997 14:44:04 +0000 (14:44 +0000)
Lib/lib-tk/Tkinter.py
Lib/tkinter/Tkinter.py

index ddb017ee0f11e304f0139daa132de1eeea0e311c..cecf107f280682ef4cc2d43010a9de4ba9c102c7 100644 (file)
@@ -1124,7 +1124,7 @@ class Canvas(Widget):
                if cnf is None and not kw:
                        cnf = {}
                        for x in self.tk.split(
-                               self._do('itemconfigure', (tagOrId))):
+                               self._do('itemconfigure', (tagOrId,))):
                                cnf[x[0][1:]] = (x[0][1:],) + x[1:]
                        return cnf
                if type(cnf) == StringType and not kw:
index ddb017ee0f11e304f0139daa132de1eeea0e311c..cecf107f280682ef4cc2d43010a9de4ba9c102c7 100755 (executable)
@@ -1124,7 +1124,7 @@ class Canvas(Widget):
                if cnf is None and not kw:
                        cnf = {}
                        for x in self.tk.split(
-                               self._do('itemconfigure', (tagOrId))):
+                               self._do('itemconfigure', (tagOrId,))):
                                cnf[x[0][1:]] = (x[0][1:],) + x[1:]
                        return cnf
                if type(cnf) == StringType and not kw: