# -----------------------------------------------------------------------------
# Copyright © 2009- The Spyder Development Team
#
# Licensed under the terms of the MIT License
# (see LICENSE.txt for details)
# -----------------------------------------------------------------------------

"""Provides access to shiboken."""

from . import PYQT5, PYQT6, PYSIDE2, PYSIDE6, PythonQtError, QtBindingMissingModuleError

if PYQT6:
    raise QtBindingMissingModuleError(name='shiboken')
elif PYQT5:
    raise QtBindingMissingModuleError(name='shiboken')
elif PYSIDE2:
    from shiboken2 import *
    import shiboken2 as shiboken
elif PYSIDE6:
    from shiboken6 import *
    import shiboken6 as shiboken
else:
    raise PythonQtError('No Qt bindings could be found')

@@ -415,17 +415,17 @@
 %0Aif PYQT
-6
+5
 :%0A    ra
@@ -478,25 +478,25 @@
 ')%0Aelif PYQT
-5
+6
 :%0A    raise 

Fix order of imports