def import_pyside2():
 from PySide2 import QtGui, QtCore, QtSvg, QtWidgets, QtPrintSupport
 QtGuiCompat = types.ModuleType('QtGuiCompat')
 QtGuiCompat.__dict__.update(QtGui.__dict__)
 QtGuiCompat.__dict__.update(QtWidgets.__dict__)
 QtGuiCompat.__dict__.update(QtPrintSupport.__dict__)
 return (QtCore, QtGuiCompat, QtSvg, QT_API_PYSIDE2)

def import_pyside2 ( ) : from PySide2 import QtGui , QtCore , QtSvg , QtWidgets , QtPrintSupport QtGuiCompat = types . ModuleType ( 'QtGuiCompat' ) QtGuiCompat . __dict__ . update ( QtGui . __dict__ ) QtGuiCompat . __dict__ . update ( QtWidgets . __dict__ ) QtGuiCompat . __dict__ . update ( QtPrintSupport . __dict__ ) return ( QtCore , QtGuiCompat , QtSvg , QT_API_PYSIDE2 )
import pyside2 importerrors raised within this function are non-recoverable .