Skip to content

Commit

Permalink
Remove try/except import asyncio for python 2 (#6947)
Browse files Browse the repository at this point in the history
  • Loading branch information
edoakes committed Jan 29, 2020
1 parent 037aa2b commit c2be794
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions python/ray/_raylet.pyx
Expand Up @@ -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
Expand Down

0 comments on commit c2be794

Please sign in to comment.