Skip to content
Prev Previous commit
Next Next commit
Merge branch 'main' into bpo3405_event
  • Loading branch information
mkiever authored Sep 21, 2024
commit 40b9f743950ad571f8f71a6d5430000a3c6df9c6
3 changes: 3 additions & 0 deletions Lib/tkinter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1733,6 +1733,9 @@ def getint_event(s):
except (ValueError, TclError):
return s

if any(isinstance(s, tuple) for s in args):
args = [s[0] if isinstance(s, tuple) and len(s) == 1 else s
for s in args]
nsign, b, d, f, h, k, s, t, w, x, y, A, E, K, N, W, T, X, Y, D = args
Comment thread
serhiy-storchaka marked this conversation as resolved.
# Missing: (a, c, m, o, v, B, R)
e = Event()
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.