summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsquareplusc <cliechti@gmx.net>2018-07-02 21:58:26 +0200
committerGitHub <noreply@github.com>2018-07-02 21:58:26 +0200
commita27715f322bb08b1fccffebab776c94df50057e9 (patch)
tree0d1db00bfb67b7e7a7c901c34a0a1cebf2619139
parent2d879b2428dacf30d5c8ba077626236b06c7d77f (diff)
parent98b8c1a7df33591f8b1753388ba1a06d9f93db80 (diff)
downloadpyserial-git-a27715f322bb08b1fccffebab776c94df50057e9.tar.gz
Merge pull request #342 from mghicho/buffer_size_fixed
Fixed the docstring for the set_buffer_size function.
-rw-r--r--serial/serialwin32.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/serial/serialwin32.py b/serial/serialwin32.py
index 74bfd05..bd1944c 100644
--- a/serial/serialwin32.py
+++ b/serial/serialwin32.py
@@ -418,7 +418,7 @@ class Serial(SerialBase):
def set_buffer_size(self, rx_size=4096, tx_size=None):
"""\
Recommend a buffer size to the driver (device driver can ignore this
- value). Must be called before the port is opened.
+ value). Must be called after the port is opened.
"""
if tx_size is None:
tx_size = rx_size