出于某种原因,我收到错误 self.wordButton.clicked.connect(lambda: QTimer.singleShot(2, print(1))) TypeError: arguments did not match any overloaded call: singleShot(int, PYQT_SLOT): argument 2 has unexpected类型“NoneType”singleShot(int,Qt.TimerType,PYQT_SLOT):参数 2 具有意外类型“NoneType”
更新