parameters: (self)
docstring: Set terminal status line: Data Terminal Ready
docstring_summary: Set terminal status line: Data Terminal Ready
docstring_tokens: Set terminal status line : Data Terminal Ready
function: def _update_dtr_state(self):
          """Set terminal status line: Data Terminal Ready"""
          if not self.is_open:
              raise portNotOpenError
          self._port_handle.DtrEnable = bool(self._dtr_state)
function_tokens: def _update_dtr_state ( self ) : if not self . is_open : raise portNotOpenError self . _port_handle . DtrEnable = bool ( self . _dtr_state )