diff --git a/stdlib/builtins.pyi b/stdlib/builtins.pyi index b0912b8872d7..a41e03f5a930 100644 --- a/stdlib/builtins.pyi +++ b/stdlib/builtins.pyi @@ -1765,6 +1765,10 @@ def sorted( ) -> list[SupportsRichComparisonT]: ... @overload def sorted(iterable: Iterable[_T], /, *, key: Callable[[_T], SupportsRichComparison], reverse: bool = False) -> list[_T]: ... +@overload +def sorted( + iterable: Iterable[tuple[SupportsRichComparisonT, ...]], /, *, key: None = None, reverse: bool = False +) -> list[tuple[SupportsRichComparisonT, ...]]: ... _AddableT1 = TypeVar("_AddableT1", bound=SupportsAdd[Any, Any]) _AddableT2 = TypeVar("_AddableT2", bound=SupportsAdd[Any, Any])