bpo-40782: Change asyncio.AbstractEventLoop.run_in_executor to be a method not a coroutine (GH-21852)



asyncio.AbstractEventLoop.run_in_executor should be a method that returns an asyncio Future, not an async method.
This matches the concrete implementations, and the documentation better.
diff --git a/Lib/asyncio/events.py b/Lib/asyncio/events.py
index 70017cb..0dce87b 100644
--- a/Lib/asyncio/events.py
+++ b/Lib/asyncio/events.py
@@ -283,7 +283,7 @@
     def call_soon_threadsafe(self, callback, *args):
         raise NotImplementedError
 
-    async def run_in_executor(self, executor, func, *args):
+    def run_in_executor(self, executor, func, *args):
         raise NotImplementedError
 
     def set_default_executor(self, executor):