Files
Andrey Lisinandintellij-monorepo-bot 2d8453d970 PY-37645 Add Python debugger fallback exception hook
GitOrigin-RevId: e5f9bbd865e25eeae19842b983ba6855dfeba250
2019-09-16 16:33:16 +00:00

19 lines
246 B
Python

from PyQt5 import QtCore
class SomeObject(QtCore.QObject):
signal = QtCore.pyqtSignal()
def __init__(self):
super().__init__()
def boom():
print(wrong_arg)
obj = SomeObject()
obj.signal.connect(boom)
obj.signal.emit()