From 3f89fcaec9d252851b084effc73f7faa1a354563 Mon Sep 17 00:00:00 2001 From: Talley Lambert Date: Fri, 22 Dec 2023 17:04:55 -0500 Subject: [PATCH] remove comment --- src/psygnal/_signal.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/psygnal/_signal.py b/src/psygnal/_signal.py index 5fc7ad66..7bbf540e 100644 --- a/src/psygnal/_signal.py +++ b/src/psygnal/_signal.py @@ -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,