# 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.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_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
serial.serialutil.unicode
serial.tools.hexlify_codec.unicode
serial.tools.miniterm.raw_input
serial.tools.miniterm.unichr
serial.urlhandler.protocol_hwgrep.basestring

# Deprecated aliases
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
