def run_idle(self):
if not self.idlers or self.inactive >= len(self.idlers):<EOL><INDENT>return False<EOL><DEDENT>idler = self.idlers.popleft()<EOL>callback, args, kwds = idler<EOL>_logging_debug('<STR_LIT>', callback.__name__)<EOL>res = callback(*args, **kwds)<EOL>if res is not None:<EOL><INDENT>if res:<EOL><INDENT>self.inactive = <NUM_LIT:0><EOL><DEDENT>else:<EOL><INDENT>self.inactive += <NUM_LIT:1><EOL><DEDENT>self.idlers.append(idler)<EOL><DEDENT>else:<EOL><INDENT>_logging_debug('<STR_LIT>', callback.__name__)<EOL><DEDENT>return True<EOL>
Run one of the idle callbacks.

        Returns:
          True if one was called, False if no idle callback was called.