Skip to content

Commit e95c17b

Browse files
proboscisclaude
andcommitted
Revert type annotation for anyio.Lock
Reverts the explicit typing of Lock to match original implementation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 5e3929e commit e95c17b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

returns/primitives/reawaitable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ async def __aexit__(self, exc_type, exc_val, exc_tb) -> None: ...
2222

2323
Lock: type[AsyncLock] = asyncio.Lock
2424
else:
25-
Lock: type[AsyncLock] = anyio.Lock
25+
Lock = anyio.Lock
2626

2727
_ValueType = TypeVar('_ValueType')
2828
_AwaitableT = TypeVar('_AwaitableT', bound=Awaitable)

0 commit comments

Comments
 (0)