Kaydet (Commit) 9918e0c7 authored tarafından Guido van Rossum's avatar Guido van Rossum

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

üst 79fa8b0a
...@@ -1124,7 +1124,7 @@ class Canvas(Widget): ...@@ -1124,7 +1124,7 @@ class Canvas(Widget):
if cnf is None and not kw: if cnf is None and not kw:
cnf = {} cnf = {}
for x in self.tk.split( for x in self.tk.split(
self._do('itemconfigure', (tagOrId))): self._do('itemconfigure', (tagOrId,))):
cnf[x[0][1:]] = (x[0][1:],) + x[1:] cnf[x[0][1:]] = (x[0][1:],) + x[1:]
return cnf return cnf
if type(cnf) == StringType and not kw: if type(cnf) == StringType and not kw:
......
...@@ -1124,7 +1124,7 @@ class Canvas(Widget): ...@@ -1124,7 +1124,7 @@ class Canvas(Widget):
if cnf is None and not kw: if cnf is None and not kw:
cnf = {} cnf = {}
for x in self.tk.split( for x in self.tk.split(
self._do('itemconfigure', (tagOrId))): self._do('itemconfigure', (tagOrId,))):
cnf[x[0][1:]] = (x[0][1:],) + x[1:] cnf[x[0][1:]] = (x[0][1:],) + x[1:]
return cnf return cnf
if type(cnf) == StringType and not kw: if type(cnf) == StringType and not kw:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment