We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff9e774 commit 5b33773Copy full SHA for 5b33773
Lib/tkinter/__init__.py
@@ -851,7 +851,10 @@ def after_info(self, id=None):
851
function to be called by the event handler and type is either 'idle'
852
or 'timer' to indicate what kind of event handler it is.
853
"""
854
- return self.tk.splitlist(self.tk.call('after', 'info', id))
+ result = self.tk.splitlist(self.tk.call('after', 'info', id))
855
+ if id is not None:
856
+ result = tuple(map(self.tk.splitlist, result))
857
+ return result
858
859
def bell(self, displayof=0):
860
"""Ring a display's bell."""
0 commit comments