diff options
-rw-r--r-- | documentation/pyserial_api.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/pyserial_api.rst b/documentation/pyserial_api.rst index 76177dd..efd82c1 100644 --- a/documentation/pyserial_api.rst +++ b/documentation/pyserial_api.rst @@ -184,7 +184,7 @@ Native ports Write the bytes *data* to the port. This should be of type ``bytes`` (or compatible such as ``bytearray`` or ``memoryview``). Unicode - strings must be encoded (e.g. ``'hello'.encode('utf-8'``). + strings must be encoded (e.g. ``'hello'.encode('utf-8')``. .. versionchanged:: 2.5 Accepts instances of :class:`bytes` and :class:`bytearray` when |