From c922749f1fc7a018bd89a3f992de43748ac49dff Mon Sep 17 00:00:00 2001 From: Kevin Deldycke Date: Thu, 18 Sep 2025 17:45:22 +0200 Subject: [PATCH] Fix type of data return by `boltons.strutils.int_ranges_from_int_list` (#14740) --- stubs/boltons/boltons/strutils.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/boltons/boltons/strutils.pyi b/stubs/boltons/boltons/strutils.pyi index 2dbd4f66a..0719a4beb 100644 --- a/stubs/boltons/boltons/strutils.pyi +++ b/stubs/boltons/boltons/strutils.pyi @@ -53,7 +53,7 @@ def format_int_list(int_list: list[int], delim: str = ",", range_delim: str = "- def complement_int_list( range_string: str, range_start: int = 0, range_end: int | None = None, delim: str = ",", range_delim: str = "-" ) -> str: ... -def int_ranges_from_int_list(range_string: str, delim: str = ",", range_delim: str = "-") -> tuple[int, int]: ... +def int_ranges_from_int_list(range_string: str, delim: str = ",", range_delim: str = "-") -> tuple[tuple[int, int], ...]: ... class MultiReplace: group_map: dict[str, str]