Skip to content

Commit d65ff91

Browse files
committed
Use Awaitable from typing module to be compatible with python 3.9-
1 parent c9552ac commit d65ff91

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tenacity/_asyncio.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@
1818
import functools
1919
import sys
2020
from asyncio import sleep as aio_sleep
21-
from collections.abc import Awaitable
2221
from inspect import iscoroutinefunction
23-
from typing import Any, Callable, TypeVar, Union
22+
from typing import Any, Awaitable, Callable, TypeVar, Union
2423

2524
from tenacity import AttemptManager, BaseRetrying, DoAttempt, DoSleep, RetryAction, RetryCallState, TryAgain
2625

0 commit comments

Comments
 (0)