From 3a1f44441527c593d0efe919c501ddd645eeb015 Mon Sep 17 00:00:00 2001 From: bzoracler Date: Tue, 24 Dec 2024 12:52:27 +1300 Subject: [PATCH] fix: allow class-scoped generic callable --- stubs/watchpoints/watchpoints/watch_element.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/watchpoints/watchpoints/watch_element.pyi b/stubs/watchpoints/watchpoints/watch_element.pyi index 6793f539751d..6558f4178f4f 100644 --- a/stubs/watchpoints/watchpoints/watch_element.pyi +++ b/stubs/watchpoints/watchpoints/watch_element.pyi @@ -16,7 +16,7 @@ class WatchElement: alias: str | None attr: str | None cmp: Callable[[Any, Any], bool] | None - copy: Callable[[Any], object] | None + copy: Callable[[_T], _T] | None default_alias: str | None deepcopy: bool exist: bool