summaryrefslogtreecommitdiff
path: root/documentation/pyserial_api.rst
diff options
context:
space:
mode:
authorcliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a>2009-07-28 01:13:28 +0000
committercliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a>2009-07-28 01:13:28 +0000
commitddd781321d76b0144e3b3a4e31222724bdbaf34d (patch)
treedbd69bfdea695ce9d54873ae8d1dad1bc485269f /documentation/pyserial_api.rst
parent2750b83755484a5ba70a2ad364c3160def6ab5b0 (diff)
downloadpyserial-git-ddd781321d76b0144e3b3a4e31222724bdbaf34d.tar.gz
- improve compatibility with io library (also accept bytearray for write)
- update test for Serial+io
Diffstat (limited to 'documentation/pyserial_api.rst')
-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 6b913a5..08f1b45 100644
--- a/documentation/pyserial_api.rst
+++ b/documentation/pyserial_api.rst
@@ -104,8 +104,8 @@ Classes
Write the string *data* to the port.
.. versionchanged:: 2.5
- Accepts an instance of :class:`bytes` when available (Python 2.6
- and newer) and :class:`str` otherwiese.
+ Accepts instances of :class:`bytes` and :class:`bytearray` when
+ available (Python 2.6 and newer) and :class:`str` otherwiese.
.. method:: inWaiting()