]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix default value of StreamReader.readuntil()
authorBerker Peksag <berker.peksag@gmail.com>
Mon, 17 Oct 2016 21:34:46 +0000 (00:34 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Mon, 17 Oct 2016 21:34:46 +0000 (00:34 +0300)
Reported by Sam Lunt on docs@p.o.

Doc/library/asyncio-stream.rst

index 0ab08e1b6e3edd0d2c91be66b0b709c73c13a27d..6177b4bb0f8b14fa53aa868e893b507a1274ea59 100644 (file)
@@ -142,7 +142,7 @@ StreamReader
 
       This method is a :ref:`coroutine <coroutine>`.
 
-   .. coroutinemethod:: readuntil(separator=b'\n')
+   .. coroutinemethod:: readuntil(separator=b'\\n')
 
       Read data from the stream until ``separator`` is found.