win32file.ClearCommError

int, PyCOMSTAT = ClearCommError(PyHANDLE)

retrieves information about a communications error and reports the current status of a communications device.

Parameters

PyHANDLE : handle

A handle to the device.