diff --git a/Doc/library/asyncio-protocol.rst b/Doc/library/asyncio-protocol.rst index c371c5686c7..0fd456ec6df 100644 --- a/Doc/library/asyncio-protocol.rst +++ b/Doc/library/asyncio-protocol.rst @@ -649,7 +649,7 @@ TCP echo server example, send back received data and close the connection:: server.close() loop.close() -:meth:`Transport.close` can be called immediatly after +:meth:`Transport.close` can be called immediately after :meth:`WriteTransport.write` even if data are not sent yet on the socket: both methods are asynchronous. ``yield from`` is not needed because these transport methods don't return coroutines.