Skip to content

Commit

Permalink
remove clause looking obsolete
Browse files Browse the repository at this point in the history
  • Loading branch information
Czaki committed Feb 20, 2024
1 parent d1e404c commit 7286171
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/psygnal/_signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -933,9 +933,7 @@ def emit(
If `check_nargs` and/or `check_types` are `True`, and the corresponding
checks fail.
"""
if self._is_blocked or (
len(self._slots) == 0 and SignalInstance._debug_hook is None
):
if self._is_blocked:
return None

if check_nargs:
Expand Down

0 comments on commit 7286171

Please sign in to comment.