[Python-checkins] cpython (3.5): Fix default value of StreamReader.readuntil()

berker.peksag python-checkins at python.org
Mon Oct 17 17:34:47 EDT 2016


https://hg.python.org/cpython/rev/14363cf42e15
changeset:   104524:14363cf42e15
branch:      3.5
parent:      104521:af06d9616c29
user:        Berker Peksag <berker.peksag at gmail.com>
date:        Tue Oct 18 00:34:46 2016 +0300
summary:
  Fix default value of StreamReader.readuntil()

Reported by Sam Lunt on docs at p.o.

files:
  Doc/library/asyncio-stream.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/library/asyncio-stream.rst b/Doc/library/asyncio-stream.rst
--- a/Doc/library/asyncio-stream.rst
+++ b/Doc/library/asyncio-stream.rst
@@ -142,7 +142,7 @@
 
       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.
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list