Skip to content

Commit a27715f

Browse files
authored
Merge pull request pyserial#342 from mghicho/buffer_size_fixed
Fixed the docstring for the set_buffer_size function.
2 parents 2d879b2 + 98b8c1a commit a27715f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

serial/serialwin32.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ def cd(self):
418418
def set_buffer_size(self, rx_size=4096, tx_size=None):
419419
"""\
420420
Recommend a buffer size to the driver (device driver can ignore this
421-
value). Must be called before the port is opened.
421+
value). Must be called after the port is opened.
422422
"""
423423
if tx_size is None:
424424
tx_size = rx_size

0 commit comments

Comments
 (0)