summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Conaway <steven.conaway@icloud.com>2020-06-27 15:47:32 -0700
committerGitHub <noreply@github.com>2020-06-27 15:47:32 -0700
commit5d2c1091d71c3e3c14690e63c120cd082f8db48b (patch)
tree07ab65819c6d147e6025e9f65012cf43a2096459
parent3a6ae5a630589a29af8d8bd45616d7aadb2fb3db (diff)
downloadpyserial-git-5d2c1091d71c3e3c14690e63c120cd082f8db48b.tar.gz
Fix tiny typo in docs
-rw-r--r--documentation/pyserial_api.rst2
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