From 0015ce885553fdaaa657ef6a0f3e914455c57f50 Mon Sep 17 00:00:00 2001 From: Alexander Zinov <33320473+sashkent3@users.noreply.github.com> Date: Tue, 17 Sep 2024 18:14:06 +0300 Subject: [PATCH] `openpyxl`: fix `Worksheet.values` annotation (#12674) --- stubs/openpyxl/openpyxl/worksheet/worksheet.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/openpyxl/openpyxl/worksheet/worksheet.pyi b/stubs/openpyxl/openpyxl/worksheet/worksheet.pyi index 42b34079c884..0fd8a84ef379 100644 --- a/stubs/openpyxl/openpyxl/worksheet/worksheet.pyi +++ b/stubs/openpyxl/openpyxl/worksheet/worksheet.pyi @@ -150,7 +150,7 @@ class Worksheet(_WorkbookChild): @property def rows(self) -> Generator[tuple[Cell, ...], None, None]: ... @property - def values(self) -> Generator[tuple[_CellValue, ...], None, None]: ... + def values(self) -> Generator[tuple[_CellValue | None, ...]]: ... @overload def iter_cols( self, min_col: int | None, max_col: int | None, min_row: int | None, max_row: int | None, values_only: Literal[True]