diff options
author | Chris Liechti <cliechti@gmx.net> | 2017-03-20 23:59:40 +0100 |
---|---|---|
committer | Chris Liechti <cliechti@gmx.net> | 2017-03-20 23:59:40 +0100 |
commit | 4f988d4b79a0328179a15e84bf91cfaf90bfa16d (patch) | |
tree | db9a7776d7177a237271267584195a37b98db208 /documentation | |
parent | bdf21a12240846eb17a27dc5c05d0217833d39d6 (diff) | |
download | pyserial-git-4f988d4b79a0328179a15e84bf91cfaf90bfa16d.tar.gz |
docs: typos, trove classifier
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/pyserial_api.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/documentation/pyserial_api.rst b/documentation/pyserial_api.rst index 65eeae5..ebae060 100644 --- a/documentation/pyserial_api.rst +++ b/documentation/pyserial_api.rst @@ -205,7 +205,7 @@ Native ports .. method:: reset_input_buffer() - Flush input buffer, discarding all it's contents. + Flush input buffer, discarding all its contents. .. versionchanged:: 3.0 renamed from ``flushInput()`` @@ -525,7 +525,7 @@ Native ports .. method:: __exit__(exc_type, exc_val, exc_tb) - Closes serial port. + Closes serial port (exceptions are not handled by ``__exit__``). Platform specific methods. @@ -704,6 +704,7 @@ Implementation detail: some attributes and functions are provided by the class :class:`SerialBase` and some by the platform specific class and others by the base class mentioned above. + RS485 support ------------- The :class:`Serial` class has a :attr:`Serial.rs485_mode` attribute which allows to @@ -795,7 +796,6 @@ on regular serial ports (``serial.rs485`` needs to be imported). - :rfc:`2217` Network ports ------------------------- @@ -1060,7 +1060,7 @@ Module functions and attributes :returns: a generator that yields bytes Some versions of Python (3.x) would return integers instead of bytes when - looping over an instance of ``bytes``. This helper function ensures that + looping over an instance of ``bytes``. This helper function ensures that bytes are returned. .. versionadded:: 3.0 |