diff --git a/Doc/library/asyncio-stream.rst b/Doc/library/asyncio-stream.rst index 0ab08e1b6e3..6177b4bb0f8 100644 --- a/Doc/library/asyncio-stream.rst +++ b/Doc/library/asyncio-stream.rst @@ -142,7 +142,7 @@ StreamReader This method is a :ref:`coroutine `. - .. coroutinemethod:: readuntil(separator=b'\n') + .. coroutinemethod:: readuntil(separator=b'\\n') Read data from the stream until ``separator`` is found.