Skip to content

Commit

Permalink
Properly escape backslash.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdpatt committed Jun 20, 2018
1 parent 826533f commit 997ea88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/pyserial_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 997ea88

Please sign in to comment.