From 4f988d4b79a0328179a15e84bf91cfaf90bfa16d Mon Sep 17 00:00:00 2001 From: Chris Liechti Date: Mon, 20 Mar 2017 23:59:40 +0100 Subject: docs: typos, trove classifier --- documentation/pyserial_api.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'documentation') 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 -- cgit v1.2.3