Skip to content

Commit 2d879b2

Browse files
authored
Merge pull request pyserial#358 from jdpatt/documenation-fix
Properly escape backslash.
2 parents 826533f + 997ea88 commit 2d879b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/pyserial_api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ Native ports
164164
:return: Bytes read from the port.
165165
:rtype: bytes
166166

167-
Read until an expected sequence is found ('\n' by default), the size
167+
Read until an expected sequence is found ('\\n' by default), the size
168168
is exceeded or until timeout occurs. If a timeout is set it may
169169
return less characters as requested. With no timeout it will block
170170
until the requested number of bytes is read.

0 commit comments

Comments
 (0)