diff --git a/stubs/tabulate/tabulate/__init__.pyi b/stubs/tabulate/tabulate/__init__.pyi index 383c29242ea6..f258717ad56f 100644 --- a/stubs/tabulate/tabulate/__init__.pyi +++ b/stubs/tabulate/tabulate/__init__.pyi @@ -44,7 +44,8 @@ multiline_formats: dict[str, str] def simple_separated_format(separator: str) -> TableFormat: ... def tabulate( - tabular_data: Mapping[str, Iterable[Any]] | Iterable[Iterable[Any]], + # The key is converted using str(). + tabular_data: Mapping[Any, Iterable[Any]] | Iterable[Iterable[Any]], headers: str | dict[str, str] | Sequence[str] = (), tablefmt: str | TableFormat = "simple", floatfmt: str | Iterable[str] = "g",