summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-08-18 14:44:04 (GMT)
committerGuido van Rossum <guido@python.org>1997-08-18 14:44:04 (GMT)
commit9918e0c750d7a78dd913ba6b3224041176c4e015 (patch)
treed90e1f5f17cb44060552fc88316d2146f15c0dfb /Lib
parent79fa8b0abe5e5e114a5e655f60535adb88d0d642 (diff)
downloadcpython-9918e0c750d7a78dd913ba6b3224041176c4e015.zip
cpython-9918e0c750d7a78dd913ba6b3224041176c4e015.tar.gz
cpython-9918e0c750d7a78dd913ba6b3224041176c4e015.tar.bz2
Add missing comma to make a tuple of (tagOrId).
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: