summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Bernoth <erik.bernoth@gmail.com>2021-08-18 15:48:55 +0200
committerGitHub <noreply@github.com>2021-08-18 15:48:55 +0200
commit2d8db3849c480a8391c51f7270af7ee4cb8868b2 (patch)
tree36ad8839f11252c4b0d06a5ed788dc0d20aa8ecb
parent9e3b4f364aa50bd62d3044ed0d5221bd42a1c1f4 (diff)
downloadpyserial-git-2d8db3849c480a8391c51f7270af7ee4cb8868b2.tar.gz
Spellcheck
I'm not a native speaker, but this way it sounds clearer to me. "as expected" sounds to me like "similar or equal to what you should expect".
-rw-r--r--documentation/pyserial_api.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/pyserial_api.rst b/documentation/pyserial_api.rst
index 12a7765..2503ec5 100644
--- a/documentation/pyserial_api.rst
+++ b/documentation/pyserial_api.rst
@@ -150,7 +150,7 @@ Native ports
:rtype: bytes
Read *size* bytes from the serial port. If a timeout is set it may
- return less characters as requested. With no timeout it will block
+ return fewer characters than requested. With no timeout it will block
until the requested number of bytes is read.
.. versionchanged:: 2.5
@@ -166,7 +166,7 @@ Native ports
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
+ return fewer characters than requested. With no timeout it will block
until the requested number of bytes is read.
.. versionchanged:: 2.5