[sys.monitoring] Change ignored Callable return type to object (#15217)

This commit is contained in:
Guo Ci
2026-01-06 11:54:30 -05:00
committed by GitHub
parent 934b047ee8
commit 831b6a402a
+1 -1
View File
@@ -65,4 +65,4 @@ def restart_events() -> None: ...
DISABLE: Final[object]
MISSING: Final[object]
def register_callback(tool_id: int, event: int, func: Callable[..., Any] | None, /) -> Callable[..., Any] | None: ...
def register_callback(tool_id: int, event: int, func: Callable[..., object] | None, /) -> Callable[..., Any] | None: ...