def import_pyqt5():
 import sip
 from PyQt5 import QtCore, QtSvg, QtWidgets, QtGui
 QtCore.Signal = QtCore.pyqtSignal
 QtCore.Slot = QtCore.pyqtSlot
 QtGuiCompat = types.ModuleType('QtGuiCompat')
 QtGuiCompat.__dict__.update(QtGui.__dict__)
 QtGuiCompat.__dict__.update(QtWidgets.__dict__)
 api = QT_API_PYQT5
 return (QtCore, QtGuiCompat, QtSvg, api)

def import_pyqt5 ( ) : import sip from PyQt5 import QtCore , QtSvg , QtWidgets , QtGui QtCore . Signal = QtCore . pyqtSignal QtCore . Slot = QtCore . pyqtSlot QtGuiCompat = types . ModuleType ( 'QtGuiCompat' ) QtGuiCompat . __dict__ . update ( QtGui . __dict__ ) QtGuiCompat . __dict__ . update ( QtWidgets . __dict__ ) api = QT_API_PYQT5 return ( QtCore , QtGuiCompat , QtSvg , api )
import pyqt5 importerrors rasied within this function are non-recoverable .