File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -125,9 +125,10 @@ if sys.version_info >= (3, 8):
125
125
TimeoutError as TimeoutError ,
126
126
)
127
127
else :
128
- from asyncio .events import (
129
- SendfileNotAvailableError as SendfileNotAvailableError
130
- )
128
+ if sys .version_info >= (3 , 7 ):
129
+ from asyncio .events import (
130
+ SendfileNotAvailableError as SendfileNotAvailableError
131
+ )
131
132
from asyncio .futures import (
132
133
CancelledError as CancelledError ,
133
134
TimeoutError as TimeoutError ,
Original file line number Diff line number Diff line change @@ -335,6 +335,5 @@ def _get_running_loop() -> AbstractEventLoop: ...
335
335
336
336
if sys .version_info >= (3 , 7 ):
337
337
def get_running_loop () -> AbstractEventLoop : ...
338
-
339
- if sys .version_info < (3 , 8 ):
340
- class SendfileNotAvailableError (RuntimeError ): ...
338
+ if sys .version_info < (3 , 8 ):
339
+ class SendfileNotAvailableError (RuntimeError ): ...
You can’t perform that action at this time.
0 commit comments