def close(self):
        if self.is_open:
            self._close()
            self.is_open = False

    #  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -
Close port
dataset/ETHPy150Open pyserial/pyserial/serial/serialwin32.py/Serial.close