summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Liechti <cliechti@gmx.net>2016-09-15 21:24:24 +0200
committerChris Liechti <cliechti@gmx.net>2016-09-15 21:24:24 +0200
commitc600e2354fe3a7b4f0d5ba219e180e93b10e1651 (patch)
tree652b34a54f41f640dd2432a5de1dd81bac2d4b13
parent143ff760b04d259d7731184593b1fbeef6ddeac5 (diff)
downloadpyserial-git-c600e2354fe3a7b4f0d5ba219e180e93b10e1651.tar.gz
docs: update requirements, typo
- typo reported by @DavidHowlett, fixes #161 - update requirements and mention WinXP :(
-rw-r--r--documentation/pyserial.rst8
-rw-r--r--serial/serialwin32.py2
2 files changed, 7 insertions, 3 deletions
diff --git a/documentation/pyserial.rst b/documentation/pyserial.rst
index dc0d028..f063385 100644
--- a/documentation/pyserial.rst
+++ b/documentation/pyserial.rst
@@ -48,9 +48,13 @@ Requirements
============
- Python 2.7 or Python 3.4 and newer
-- If running on Jython: "Java Communications" (JavaComm) or compatible extension for Java
+- If running on Windows: Something newer than WinXP
-For older installations, see `older versions`_ below.
+- If running on Jython: "Java Communications" (JavaComm) or compatible
+ extension for Java
+
+For older installations (older Python versions or older operating systems), see
+`older versions`_ below.
Installation
diff --git a/serial/serialwin32.py b/serial/serialwin32.py
index 484c4a1..2927864 100644
--- a/serial/serialwin32.py
+++ b/serial/serialwin32.py
@@ -405,7 +405,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 opended.
+ value). Must be called before the port is opened.
"""
if tx_size is None:
tx_size = rx_size