Skip to content

Commit

Permalink
Revert "Update Lib/tkinter/__init__.py"
Browse files Browse the repository at this point in the history
This reverts commit 5b33773.
  • Loading branch information
serhiy-storchaka committed Apr 25, 2024
1 parent 94a71a4 commit 02df0b0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Lib/tkinter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -910,10 +910,7 @@ def after_info(self, id=None):
function to be called by the event handler and type is either 'idle'
or 'timer' to indicate what kind of event handler it is.
"""
result = self.tk.splitlist(self.tk.call('after', 'info', id))
if id is not None:
result = tuple(map(self.tk.splitlist, result))
return result
return self.tk.splitlist(self.tk.call('after', 'info', id))

def bell(self, displayof=0):
"""Ring a display's bell."""
Expand Down

0 comments on commit 02df0b0

Please sign in to comment.