summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-10-17 21:34:46 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2016-10-17 21:34:46 (GMT)
commite5b0bd1ba2687a582bbb7e47580e6507ed2a9253 (patch)
treeb3a9c7fc22c457cebafbb83efe3ce4d7fc0a9096 /Doc
parent1f6b69b74996164be5f13dea34242edc14bd87a1 (diff)
downloadcpython-e5b0bd1ba2687a582bbb7e47580e6507ed2a9253.zip
cpython-e5b0bd1ba2687a582bbb7e47580e6507ed2a9253.tar.gz
cpython-e5b0bd1ba2687a582bbb7e47580e6507ed2a9253.tar.bz2
Fix default value of StreamReader.readuntil()
Reported by Sam Lunt on docs@p.o.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/asyncio-stream.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/asyncio-stream.rst b/Doc/library/asyncio-stream.rst
index 0ab08e1..6177b4b 100644
--- a/Doc/library/asyncio-stream.rst
+++ b/Doc/library/asyncio-stream.rst
@@ -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.