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