Vehicle-Anti-Theft-Face-Rec.../venv/Lib/site-packages/qtpy/QtWebSockets.py

19 lines
589 B
Python
Raw Normal View History

2020-11-12 16:05:57 +00:00
# -*- coding: utf-8 -*-
# -----------------------------------------------------------------------------
# Copyright © 2009- The Spyder Development Team
#
# Licensed under the terms of the MIT License
# (see LICENSE.txt for details)
# -----------------------------------------------------------------------------
"""Provides QtWebSockets classes and functions."""
# Local imports
from . import PYSIDE2, PYQT5, PythonQtError
if PYQT5:
from PyQt5.QtWebSockets import *
elif PYSIDE2:
from PySide2.QtWebSockets import *
else:
raise PythonQtError('No Qt bindings could be found')