Skip to content

Commit a3a7674

Browse files
authored
if the slot is a partial, pass the arguments (#12)
1 parent d72773d commit a3a7674

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PySignal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def _get_sender():
116116
if not slot:
117117
continue
118118
elif isinstance(slot, partial):
119-
slot()
119+
slot(*args, **kwargs)
120120
elif isinstance(slot, weakref.WeakKeyDictionary):
121121
# For class methods, get the class object and call the method accordingly.
122122
for obj, method in slot.items():

0 commit comments

Comments
 (0)