File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 1919 from PyQt5 .QtCore import pyqtSlot as Slot
2020 from PyQt5 .QtCore import pyqtProperty as Property
2121 from PyQt5 .QtCore import QT_VERSION_STR as __version__
22+
23+ # Those are imported from `import *`
24+ del pyqtSignal , pyqtSlot , pyqtProperty , QT_VERSION_STR
2225elif PYQT4 :
2326 from PyQt4 .QtCore import *
27+ # Those are things we inherited from Spyder that fix crazy crashes under
28+ # some specific situations. (See #34)
2429 from PyQt4 .QtCore import QCoreApplication
2530 from PyQt4 .QtCore import Qt
2631 from PyQt4 .QtCore import pyqtSignal as Signal
2934 from PyQt4 .QtGui import (QItemSelection , QItemSelectionModel ,
3035 QItemSelectionRange , QSortFilterProxyModel )
3136 from PyQt4 .QtCore import QT_VERSION_STR as __version__
37+
38+ # Those are imported from `import *`
39+ del pyqtSignal , pyqtSlot , pyqtProperty , QT_VERSION_STR
3240elif PYSIDE :
3341 from PySide .QtCore import *
3442 from PySide .QtGui import (QItemSelection , QItemSelectionModel ,
You can’t perform that action at this time.
0 commit comments