mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-07 13:35:58 +07:00
GitOrigin-RevId: e5f9bbd865e25eeae19842b983ba6855dfeba250
19 lines
246 B
Python
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()
|