Add missing comma to make a tuple of (tagOrId).

This commit is contained in:
Guido van Rossum 1997-08-18 14:44:04 +00:00
parent 79fa8b0abe
commit 9918e0c750
2 changed files with 2 additions and 2 deletions

View 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:

View 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: