def _prepare_pending(self):
if not self._unprepared_pending:<EOL><INDENT>return<EOL><DEDENT>for handler in list(self._unprepared_pending):<EOL><INDENT>self._configure_io_handler(handler)<EOL><DEDENT>self.check_events()<EOL>
Prepare pending handlers.