summaryrefslogtreecommitdiff
path: root/documentation/pyserial_api.rst
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/pyserial_api.rst')
-rw-r--r--documentation/pyserial_api.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/documentation/pyserial_api.rst b/documentation/pyserial_api.rst
index 2aa8d21..a3417c2 100644
--- a/documentation/pyserial_api.rst
+++ b/documentation/pyserial_api.rst
@@ -275,6 +275,9 @@ Native ports
Return the state of the CD line
+ .. attribute:: is_open
+ :getter: Get the state of the serial port, whether it's open.
+ :type: bool
New values can be assigned to the following attributes (properties), the
port will be reconfigured, even if it's opened at that time:
@@ -564,6 +567,10 @@ Native ports
.. deprecated:: 3.0 see :attr:`in_waiting`
+ .. method:: isOpen()
+
+ .. deprecated:: 3.0 see :attr:`is_open`
+
.. attribute:: writeTimeout
.. deprecated:: 3.0 see :attr:`write_timeout`