mypy: fix typing issues (#2571)

pull/2508/head^2
patryk4815 1 year ago committed by GitHub
parent f6c0fe7657
commit 1b71c57681
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -122,11 +122,11 @@ def unpause(event_registry) -> None:
def connect(
func: Callable[P, T],
func: Callable[[], T],
event_handler: Any,
name: str = "",
priority: HandlerPriority = HandlerPriority.LOW,
) -> Callable[P, T]:
) -> Callable[[], T]:
if debug:
print("Connecting", func.__name__, event_handler)

Loading…
Cancel
Save