mirror of
https://github.com/wassname/ray.git
synced 2026-10-03 12:50:16 +08:00
Remove try/except import asyncio for python 2 (#6947)
This commit is contained in:
1 parent
037aa2b961
commit
c2be794f10
1 file changed
+1
-5
@@ -5,11 +5,7 @@
|
||||
|
||||
from cpython.exc cimport PyErr_CheckSignals
|
||||
|
||||
try:
|
||||
import asyncio
|
||||
except ImportError:
|
||||
# Python2 doesn't have asyncio
|
||||
asyncio = None
|
||||
import asyncio
|
||||
import numpy
|
||||
import gc
|
||||
import inspect
|
||||
|
||||
Reference in new issue
Block a user