We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3acf114 commit 2f88d60Copy full SHA for 2f88d60
jupyter_client/utils.py
@@ -1,15 +1,11 @@
1
"""
2
utils:
3
-- provides utility wrapeprs to run asynchronous functions in a blocking environment.
+- provides utility wrappers to run asynchronous functions in a blocking environment.
4
- vendor functions from ipython_genutils that should be retired at some point.
5
6
import asyncio
7
import inspect
8
import os
9
-import sys
10
-
11
-if os.name == "nt" and sys.version_info >= (3, 7):
12
- asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy()) # type: ignore
13
14
15
def run_sync(coro):
0 commit comments