[PyQt] QScit.pyi missing import of QtCore

Barry Scott barry at barrys-emacs.org
Sun Oct 23 14:59:37 BST 2016


mypy reported problems with QtCore not defined.

This fixes it.

--- /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/PyQt5/Qsci.pyi~	2016-10-23 14:54:08.000000000 +0100
+++ _diff_.tmp	2016-10-23 14:55:12.000000000 +0100
@@ -26,6 +26,7 @@
 from PyQt5 import QtPrintSupport
 from PyQt5 import QtWidgets
 from PyQt5 import QtGui
+from PyQt5 import QtCore
 
 # Support for QDate, QDateTime and QTime.
 import datetime


Barry



More information about the PyQt mailing list