summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/lib-tk/Tkinter.py2
-rwxr-xr-xLib/tkinter/Tkinter.py2
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: