1 # -----------------------------------------------------------------------------
2 # Copyright © 2009- The Spyder Development Team
4 # Licensed under the terms of the MIT License
5 # (see LICENSE.txt for details)
6 # -----------------------------------------------------------------------------
8 """Provides Qsci classes and functions."""
15 QtBindingMissingModuleError
,
16 QtModuleNotInstalledError
21 from PyQt5
.Qsci
import *
22 except ModuleNotFoundError
as error
:
23 raise QtModuleNotInstalledError(
24 name
='Qsci', missing_package
='QScintilla'
28 from PyQt6
.Qsci
import *
29 except ModuleNotFoundError
as error
:
30 raise QtModuleNotInstalledError(
31 name
='Qsci', missing_package
='PyQt6-QScintilla'
34 raise QtBindingMissingModuleError(name
='Qsci')
36 raise QtBindingMissingModuleError(name
='Qsci')