diff --git a/stdlib/statistics.pyi b/stdlib/statistics.pyi index 5fa519edf..4ef950b9b 100644 --- a/stdlib/statistics.pyi +++ b/stdlib/statistics.pyi @@ -61,7 +61,7 @@ if sys.version_info >= (3, 11): def median_grouped(data: Iterable[SupportsFloat], interval: SupportsFloat = 1.0) -> float: ... else: - def median_grouped(data: Iterable[_NumberT], interval: _NumberT = ...) -> _NumberT | float: ... + def median_grouped(data: Iterable[_NumberT], interval: _NumberT | float = 1) -> _NumberT | float: ... def mode(data: Iterable[_HashableT]) -> _HashableT: ...