Skip to content

Commit 6c9fafe

Browse files
Call wait_readable() with socket, not its FD (#27)
1 parent 1870962 commit 6c9fafe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zmq_anyio/_socket.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,7 @@ async def _start(self, *, task_status: TaskStatus[None] = TASK_STATUS_IGNORED):
897897
)
898898
tasks = [
899899
create_task(
900-
wait_readable(self._shadow_sock.FD), # type: ignore[arg-type]
900+
wait_readable(self._shadow_sock), # type: ignore[arg-type]
901901
self._task_group,
902902
exception_handler=ignore_exceptions,
903903
),

0 commit comments

Comments
 (0)