docs: add TypeDefinition to the credits
[git-cola.git] / qtpy / QtSerialPort.py
blob26fcae180e1245da1b80bdea25095ef1b857d8eb
1 # -*- coding: utf-8 -*-
2 # -----------------------------------------------------------------------------
3 # Copyright © 2020 Marcin Stano
4 # Copyright © 2009- The Spyder Development Team
6 # Licensed under the terms of the MIT License
7 # (see LICENSE.txt for details)
8 # -----------------------------------------------------------------------------
9 """Provides QtSerialPort classes and functions."""
11 # Local imports
12 from . import PYQT5, PythonQtError
14 if PYQT5:
15 from PyQt5.QtSerialPort import *
16 else:
17 raise PythonQtError('No Qt bindings could be found')