From: Guido van Rossum Date: Mon, 18 Aug 1997 14:44:04 +0000 (+0000) Subject: Add missing comma to make a tuple of (tagOrId). X-Git-Tag: v1.5a4~381 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9918e0c750d7a78dd913ba6b3224041176c4e015;p=python Add missing comma to make a tuple of (tagOrId). --- diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py index ddb017ee0f..cecf107f28 100644 --- a/Lib/lib-tk/Tkinter.py +++ b/Lib/lib-tk/Tkinter.py @@ -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: diff --git a/Lib/tkinter/Tkinter.py b/Lib/tkinter/Tkinter.py index ddb017ee0f..cecf107f28 100755 --- a/Lib/tkinter/Tkinter.py +++ b/Lib/tkinter/Tkinter.py @@ -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: