# Error: failed to import
# =======================
serial.__main__  # SystemExit
serial.serialcli  # (IronPython) ModuleNotFoundError: No module named 'System'
serial.serialjava  # No Java Communications API implementation found

# Error: is inconsistent
# ======================
# These are positional only argument in the stub because they inherit from io.RawIOBase
# but at runtime they are normal arguments that don't have consistent names.
serial.Serial.write
serial.SerialBase.readinto
serial.serialutil.SerialBase.readinto
serial.rfc2217.Serial.write
serial.rs485.RS485.write
serial.urlhandler.protocol_cp2110.Serial.write
serial.urlhandler.protocol_loop.Serial.write
serial.urlhandler.protocol_rfc2217.Serial.write
serial.urlhandler.protocol_socket.Serial.write
serial.urlhandler.protocol_spy.Serial.write

# Error: is not present in stub
# =============================
# Python 2 compatibility
serial.basestring
serial.serialutil.basestring
serial.serialutil.iterbytes
serial.serialutil.to_bytes

# Deprecated aliases
serial.SerialBase.applySettingsDict
serial.SerialBase.flushInput
serial.SerialBase.flushOutput
serial.SerialBase.getCD
serial.SerialBase.getCTS
serial.SerialBase.getDSR
serial.SerialBase.getRI
serial.SerialBase.getSettingsDict
serial.SerialBase.inWaiting
serial.SerialBase.interCharTimeout
serial.SerialBase.isOpen
serial.SerialBase.sendBreak
serial.SerialBase.setDTR
serial.SerialBase.setPort
serial.SerialBase.setRTS
serial.SerialBase.writeTimeout
serial.serialutil.SerialBase.applySettingsDict
serial.serialutil.SerialBase.flushInput
serial.serialutil.SerialBase.flushOutput
serial.serialutil.SerialBase.getCD
serial.serialutil.SerialBase.getCTS
serial.serialutil.SerialBase.getDSR
serial.serialutil.SerialBase.getRI
serial.serialutil.SerialBase.getSettingsDict
serial.serialutil.SerialBase.inWaiting
serial.serialutil.SerialBase.interCharTimeout
serial.serialutil.SerialBase.isOpen
serial.serialutil.SerialBase.sendBreak
serial.serialutil.SerialBase.setDTR
serial.serialutil.SerialBase.setPort
serial.serialutil.SerialBase.setRTS
serial.serialutil.SerialBase.writeTimeout
