From 9918e0c750d7a78dd913ba6b3224041176c4e015 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 18 Aug 1997 14:44:04 +0000 Subject: Add missing comma to make a tuple of (tagOrId). --- Lib/lib-tk/Tkinter.py | 2 +- Lib/tkinter/Tkinter.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py index ddb017e..cecf107 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 ddb017e..cecf107 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: -- cgit v0.12