mirror of
https://github.com/python/cpython.git
synced 2024-11-24 10:24:35 +08:00
Add missing comma to make a tuple of (tagOrId).
This commit is contained in:
parent
79fa8b0abe
commit
9918e0c750
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user