summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Patterson <dpatter877@gmail.com>2018-06-20 17:56:26 -0400
committerDavid Patterson <dpatter877@gmail.com>2018-06-20 17:56:26 -0400
commit997ea884dc3f3e540e922790da1555168ad0054f (patch)
treeb4d29c6f469ce2016b62335929247b61ad670ebd
parent826533f25a8e327cb9f3885dacce0e091da0a055 (diff)
downloadpyserial-git-997ea884dc3f3e540e922790da1555168ad0054f.tar.gz
Properly escape backslash.
-rw-r--r--documentation/pyserial_api.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/pyserial_api.rst b/documentation/pyserial_api.rst
index c821773..d9dcb32 100644
--- a/documentation/pyserial_api.rst
+++ b/documentation/pyserial_api.rst
@@ -164,7 +164,7 @@ Native ports
:return: Bytes read from the port.
:rtype: bytes
- Read until an expected sequence is found ('\n' by default), the size
+ Read until an expected sequence is found ('\\n' by default), the size
is exceeded or until timeout occurs. If a timeout is set it may
return less characters as requested. With no timeout it will block
until the requested number of bytes is read.