diff options
author | Chris Liechti <cliechti@gmx.net> | 2016-10-31 22:37:13 +0100 |
---|---|---|
committer | Chris Liechti <cliechti@gmx.net> | 2016-10-31 22:37:13 +0100 |
commit | 9e20574a9a6cd369b1ed488112fb3c2941ec72e9 (patch) | |
tree | 5096943015176ef2ccd91b037805b74bbb42091c /documentation/pyserial_api.rst | |
parent | 141ca00b69ee94d0f501e3c431225144a10b9673 (diff) | |
download | pyserial-git-9e20574a9a6cd369b1ed488112fb3c2941ec72e9.tar.gz |
docs: fix example, fixes #173
Diffstat (limited to 'documentation/pyserial_api.rst')
-rw-r--r-- | documentation/pyserial_api.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/documentation/pyserial_api.rst b/documentation/pyserial_api.rst index cec0078..90444df 100644 --- a/documentation/pyserial_api.rst +++ b/documentation/pyserial_api.rst @@ -494,6 +494,8 @@ Native ports .. versionchanged:: 3.0 renamed from ``applySettingsDict`` + .. _context-manager: + This class can be used as context manager. The serial port is closed when the context is left. |