We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7ba25cd + fa58a97 commit 26fb494Copy full SHA for 26fb494
documentation/pyserial_api.rst
@@ -275,6 +275,9 @@ Native ports
275
276
Return the state of the CD line
277
278
+ .. attribute:: is_open
279
+ :getter: Get the state of the serial port, whether it's open.
280
+ :type: bool
281
282
New values can be assigned to the following attributes (properties), the
283
port will be reconfigured, even if it's opened at that time:
@@ -564,6 +567,10 @@ Native ports
564
567
565
568
.. deprecated:: 3.0 see :attr:`in_waiting`
566
569
570
+ .. method:: isOpen()
571
+
572
+ .. deprecated:: 3.0 see :attr:`is_open`
573
574
.. attribute:: writeTimeout
575
576
.. deprecated:: 3.0 see :attr:`write_timeout`
0 commit comments