cmds: use "git revert --no-edit"
[git-cola.git] / qtpy / QtWebSockets.py
blob4b6a8204c925ac9cc621526fe8320bd55a8136c8
1 # -*- coding: utf-8 -*-
2 # -----------------------------------------------------------------------------
3 # Copyright © 2009- The Spyder Development Team
5 # Licensed under the terms of the MIT License
6 # (see LICENSE.txt for details)
7 # -----------------------------------------------------------------------------
8 """Provides QtWebSockets classes and functions."""
10 # Local imports
11 from . import PYSIDE2, PYQT5, PythonQtError
13 if PYQT5:
14 from PyQt5.QtWebSockets import *
15 elif PYSIDE2:
16 from PySide2.QtWebSockets import *
17 else:
18 raise PythonQtError('No Qt bindings could be found')