Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9918e0c

Browse files
committed
Add missing comma to make a tuple of (tagOrId).
1 parent 79fa8b0 commit 9918e0c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/lib-tk/Tkinter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,7 @@ def itemconfig(self, tagOrId, cnf=None, **kw):
11241124
if cnf is None and not kw:
11251125
cnf = {}
11261126
for x in self.tk.split(
1127-
self._do('itemconfigure', (tagOrId))):
1127+
self._do('itemconfigure', (tagOrId,))):
11281128
cnf[x[0][1:]] = (x[0][1:],) + x[1:]
11291129
return cnf
11301130
if type(cnf) == StringType and not kw:

Lib/tkinter/Tkinter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,7 @@ def itemconfig(self, tagOrId, cnf=None, **kw):
11241124
if cnf is None and not kw:
11251125
cnf = {}
11261126
for x in self.tk.split(
1127-
self._do('itemconfigure', (tagOrId))):
1127+
self._do('itemconfigure', (tagOrId,))):
11281128
cnf[x[0][1:]] = (x[0][1:],) + x[1:]
11291129
return cnf
11301130
if type(cnf) == StringType and not kw:

0 commit comments

Comments
 (0)