mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-05-24 15:29:06 +03:00
Turm asyncio import to conditional for safer Py2 usage
This commit is contained in:
parent
0015e4e50a
commit
aaacc07916
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,6 +1,10 @@
|
||||||
"""Providers module."""
|
"""Providers module."""
|
||||||
|
|
||||||
import asyncio
|
try:
|
||||||
|
import asyncio
|
||||||
|
except ImportError:
|
||||||
|
asyncio = None
|
||||||
|
|
||||||
import inspect
|
import inspect
|
||||||
|
|
||||||
cimport cython
|
cimport cython
|
||||||
|
|
Loading…
Reference in New Issue
Block a user