Merge pull request #7 from mhgreen/master

change trio.hazmat to trio.lowlevel in read
This commit is contained in:
Bennett Kanuka 2020-12-29 15:16:32 -05:00 committed by GitHub
commit fbaca7a471
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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):