From 17ff8a0c8cb787b641f354ad7f1fe01a49d52bc2 Mon Sep 17 00:00:00 2001 From: Avasam Date: Fri, 1 Dec 2023 11:46:50 -0500 Subject: [PATCH] . --- stubs/openpyxl/openpyxl/styles/named_styles.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/openpyxl/openpyxl/styles/named_styles.pyi b/stubs/openpyxl/openpyxl/styles/named_styles.pyi index e601c0714dea..805034cff490 100644 --- a/stubs/openpyxl/openpyxl/styles/named_styles.pyi +++ b/stubs/openpyxl/openpyxl/styles/named_styles.pyi @@ -51,7 +51,7 @@ class NamedStyle(Serialisable): class NamedStyleList(list[NamedStyle]): @property def names(self) -> list[str]: ... - def __getitem__(self, key: int) -> NamedStyle: ... + def __getitem__(self, key: int | str) -> NamedStyle: ... # type: ignore[override] def append(self, style: NamedStyle) -> None: ... class _NamedCellStyle(Serialisable):