tests: prune empty lines and add docstrings
[git-cola.git] / qtpy / QtSerialPort.py
blob878c35b17404203866fd9dd77e33632218f732a2
1 # -----------------------------------------------------------------------------
2 # Copyright © 2020 Marcin Stano
3 # Copyright © 2009- The Spyder Development Team
5 # Licensed under the terms of the MIT License
6 # (see LICENSE.txt for details)
7 # -----------------------------------------------------------------------------
9 """Provides QtSerialPort classes and functions."""
11 from . import PYQT5, PYQT6, PYSIDE2, PYSIDE6
13 if PYQT5:
14 from PyQt5.QtSerialPort import *
15 elif PYQT6:
16 from PyQt6.QtSerialPort import *
17 elif PYSIDE6:
18 from PySide6.QtSerialPort import *
19 elif PYSIDE2:
20 from PySide2.QtSerialPort import *