Skip to content

Commit 3bc5cf4

Browse files
proboscissobolevn
andauthored
Update returns/primitives/reawaitable.py
Co-authored-by: sobolevn <mail@sobolevn.me>
1 parent b0bc6b2 commit 3bc5cf4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

returns/primitives/reawaitable.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ async def __aexit__(self, exc_type, exc_val, exc_tb) -> None: ...
1818
except ImportError: # pragma: no cover
1919
import asyncio # noqa: WPS433
2020

21-
Lock: AsyncLock = asyncio.Lock
21+
Lock: type[AsyncLock] = asyncio.Lock
2222
else:
23-
Lock: AsyncLock = anyio.Lock
23+
Lock = anyio.Lock
2424

2525
_ValueType = TypeVar('_ValueType')
2626
_AwaitableT = TypeVar('_AwaitableT', bound=Awaitable)

0 commit comments

Comments
 (0)