Skip to content

Commit

Permalink
fix: allow class-scoped generic callable
Browse files Browse the repository at this point in the history
  • Loading branch information
bzoracler committed Dec 23, 2024
1 parent ec50c22 commit 3a1f444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/watchpoints/watchpoints/watch_element.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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

Check failure on line 19 in stubs/watchpoints/watchpoints/watch_element.pyi

View workflow job for this annotation

GitHub Actions / Test typeshed with pyright (Linux, 3.12)

Type variable "_T" has no meaning in this context (reportGeneralTypeIssues)

Check failure on line 19 in stubs/watchpoints/watchpoints/watch_element.pyi

View workflow job for this annotation

GitHub Actions / Test typeshed with pyright (Linux, 3.12)

Type variable "_T" has no meaning in this context (reportGeneralTypeIssues)
default_alias: str | None
deepcopy: bool
exist: bool
Expand Down

0 comments on commit 3a1f444

Please sign in to comment.