change trio.hazmat to trio.lowlevel in read

This commit is contained in:
Michael Green 2020-12-29 10:36:56 -08:00
parent deaa54e8ff
commit 296139cf26

View File

@ -67,7 +67,7 @@ class AsyncClient:
with cs:
while True:
await self._event_should_read.wait()
await trio.hazmat.wait_readable(self.socket)
await trio.lowlevel.wait_readable(self.socket)
self._client.loop_read()
async def _loop_write(self):