Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed Dec 22, 2023
1 parent 609dfce commit 3f89fca
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/psygnal/_signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,10 +492,6 @@ def _wrapper(
extra = f"- Slot types {slot_sig} do not match types in signal."
self._raise_connection_error(slot, extra)

# this type ignore could be fixed with ParamSpec, but that's not yet
# supported by mypyc. we need cb to be a WeakCallback[R], but we can't
# preserve the full typing information of the callback without using
# Callable[ParamSpec, R] or a general TypeVar('F', bound=Callable).
cb = weak_callback(
slot,
max_args=max_args,
Expand Down

0 comments on commit 3f89fca

Please sign in to comment.