(self, callback, args, context)
| 849 | f'got {callback!r}') |
| 850 | |
| 851 | def _call_soon(self, callback, args, context): |
| 852 | handle = events.Handle(callback, args, self, context) |
| 853 | if handle._source_traceback: |
| 854 | del handle._source_traceback[-1] |
| 855 | self._ready.append(handle) |
| 856 | return handle |
| 857 | |
| 858 | def _check_thread(self): |
| 859 | """Check that the current thread is the thread running the event loop. |